Skip to content

Commit 65fcb69

Browse files
bquorningJonRowe
andcommitted
Update Gemfile to point to metagem repo
Co-authored-by: Jon Rowe <[email protected]>
1 parent 1b86407 commit 65fcb69

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Gemfile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@ gemspec
88
if File.exist?(library_path) && !ENV['USE_GIT_REPOS']
99
gem lib, :path => library_path
1010
else
11-
gem lib, :git => "https://github.com/rspec/#{lib}.git", :branch => ENV.fetch('RSPEC_BRANCH', 'main')
11+
branch = ENV.fetch('RSPEC_BRANCH', 'main')
12+
if lib == 'rspec'
13+
gem 'rspec', :git => "https://github.com/rspec/rspec-metagem.git", :branch => branch
14+
else
15+
gem lib, :git => "https://github.com/rspec/#{lib}.git", :branch => branch
16+
end
1217
end
1318
end
1419

0 commit comments

Comments
 (0)