Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 981b850

Browse files
committed
Use maintenance-branch in Gemfile.
1 parent fd7cac6 commit 981b850

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@ source 'https://rubygems.org'
33
# Specify your gem's dependencies in rspec-support.gemspec
44
gemspec
55

6+
branch = File.read(File.expand_path("../maintenance-branch", __FILE__)).chomp
67
%w[rspec rspec-core rspec-expectations rspec-mocks].each do |lib|
78
library_path = File.expand_path("../../#{lib}", __FILE__)
89
if File.exist?(library_path) && !ENV['USE_GIT_REPOS']
910
gem lib, :path => library_path
1011
else
11-
gem lib, :git => "git://github.com/rspec/#{lib}.git"
12+
gem lib, :git => "git://github.com/rspec/#{lib}.git", :branch => branch
1213
end
1314
end
1415

0 commit comments

Comments
 (0)