Skip to content

Commit bd9aaad

Browse files
committed
Pin RSpec to main unless specififed, avoids older git downloading master
1 parent cf56034 commit bd9aaad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ gemspec
77
if File.exist?(library_path) && !ENV['USE_GIT_REPOS']
88
gem lib, :path => library_path
99
else
10-
gem lib, :git => "https://github.com/rspec/#{lib}.git"
10+
gem lib, :git => "https://github.com/rspec/#{lib}.git", :branch => ENV.fetch('RSPEC_BRANCH', 'main')
1111
end
1212
end
1313

0 commit comments

Comments
 (0)