Andy Waite

Results 394 comments of Andy Waite

Yes, it looks like a problem with your Ruby installation.

I ran into this too, I think it could be Ruby LSP related. https://github.com/Shopify/ruby-lsp/issues/2387

cc @adrienpoly

Hi @obahareth For the Rails features, the add-on communicates with your app via the Rails runner command. If you try run `bin/rails runner 'puts 1'` locally and it fails, then...

We don't offer a way to change this, it's set here: https://github.com/Shopify/ruby-lsp-rails/blob/955dc27e44c015f5839a438d37b03a64f2cb1642/lib/ruby_lsp/ruby_lsp_rails/runner_client.rb#L74

Can that be triggered in VS Code?

@sanjani-thatch I suspect this is related to the structure of that particular test file. Are you able to share a minimal reproducible example of the code?

I think https://github.com/Shopify/ruby-lsp/pull/2522 is partly the cause. If I try the ruby-lsp version prior to that (v0.17.17), and just change `-Itest` to `-Ispec` then it works, e.g. ``` bundle exec...

This is likely related to the specs in Tapioca being within a class definition, which is a bit different from normal specs.