-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Update instructions for gems installations from git repository #2828
Conversation
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.
Thanks!
README.md
Outdated
if lib == 'rspec-rails' | ||
gem lib, git: "https://github.com/rspec/rspec-rails" | ||
else | ||
gem lib, git: "https://github.com/rspec/rspec", glob: "#{lib}/#{lib}.gemspec" |
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.
Above it says that it requires "main" branch, but I believe this is the case with this notation as well.
It also corresponds to how we do it here ourselves
gem lib, git: "https://github.com/rspec/rspec", glob: "#{lib}/#{lib}.gemspec" |
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.
To be honest this is out of date, you don't need to run against the main branch of the other libraries to run rspec-rails from git.
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.
Fair enough. And we don't have to run our rspec-rails CI against them, too, right?
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.
We do need git main on CI, but only on CI.
@rubysamurai Would you be up to simplify this section of the README?
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.
@pirj I just did. Thanks for the review!
Thanks, merged despite build failure because I fixed that elsewhere and this is only readme |
Use RSpec monorepo for all related RSpec libraries.