From 3ae1eb34a9a51b06c992f2b27b2d6c30868b2f84 Mon Sep 17 00:00:00 2001 From: Dmitriy Tarasov Date: Fri, 10 Jan 2025 16:12:00 +0300 Subject: [PATCH] Update instructions for gems installations from git repository --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a5dd588d1..73f89150a 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,11 @@ See the [`7-1-maintenance` branch on Github](https://github.com/rspec/rspec-rail # (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| - gem lib, git: "https://github.com/rspec/#{lib}.git", branch: 'main' + 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 end ```