New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failure for sorbet-runtime
on new Rails app
#336
Comments
This is strange. First, Second, this is saying that requiring |
Here's more of the stacktrace:
So it seems this is because in So either:
|
Oh, I see the problem now. I'd say we include |
Something like this? #340 |
FYI @vinistock :
|
We have this problem too where we do not use Sorbet in our application and get his error when the rails lsp server starts Any way around other than adding the Sorbet gem to our application Gemfile eheh? Ref: I reported my error on the ruby-lsp repo at first (Shopify/ruby-lsp#1959) you can see my whole stracktrace there |
I wouldn't recommend doing that unless you're actually adopting Sorbet. The only thing you're currently missing out on is the column information on hover (which is the feature that depends on the runtime). The team is looking into fixing this. |
I've updated the Bundler docs to mention the |
I noticed when testing on a new Rails app:
I suspect this wasn't noticed previously because
sorbet-runtime
was already being required by something else.The text was updated successfully, but these errors were encountered: