-
Notifications
You must be signed in to change notification settings - Fork 28
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
Fix CI #228
Fix CI #228
Conversation
Remove Gemfile.lock for Ruby head
After Shopify/ruby-lsp#1280, the hover request will now contain information about the class's information too. This previously was not the case because this project has Sorbet in the depdenencies.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥳
skip if ENV["BUNDLE_GEMFILE"]&.end_with?("gemfiles/Gemfile-rails-main") | ||
|
||
previous_bundle_gemfile = ENV["BUNDLE_GEMFILE"] | ||
project_root = Pathname.new(previous_bundle_gemfile).dirname |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I would have preferred to set project_root independently of the BUNDLE_GEMFILE
:
project_root = File.expand_path("../..", __dir__)
since if any more gemfiles are added to the gemfiles/
subdirectory, this test will start failing again. 🤷
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes, let's do that: #229
Missed a closing quote in #226.
Also added Stan's fixes from #227