Skip to content

Commit 481512a

Browse files
committed
Merge pull request #863 from rspec/use_git_repos
Similar to the other rspec repos, allow suppression of local repos
2 parents e96dcea + 73e657b commit 481512a

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
@@ -4,7 +4,7 @@ gemspec
44

55
%w[rspec rspec-core rspec-expectations rspec-mocks rspec-collection_matchers rspec-support].each do |lib|
66
library_path = File.expand_path("../../#{lib}", __FILE__)
7-
if File.exist?(library_path)
7+
if File.exist?(library_path) && !ENV['USE_GIT_REPOS']
88
gem lib, :path => library_path
99
else
1010
gem lib, :git => "git://github.com/rspec/#{lib}.git"

0 commit comments

Comments
 (0)