Skip to content

Commit

Permalink
Simplify instructions for gems installations from git repository
Browse files Browse the repository at this point in the history
  • Loading branch information
rubysamurai committed Jan 11, 2025
1 parent 3ae1eb3 commit d47bc41
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,8 @@ See the [`7-1-maintenance` branch on Github](https://github.com/rspec/rspec-rail
end

# Or, run against the main branch
# (requires main-branch versions of all related RSpec libraries)
group :development, :test do
%w[rspec-core rspec-expectations rspec-mocks rspec-rails rspec-support].each do |lib|
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"
end
end
gem 'rspec-rails', git: 'https://github.com/rspec/rspec-rails'
end
```

Expand Down

0 comments on commit d47bc41

Please sign in to comment.