Skip to content

Commit

Permalink
Supress check for local repos when flag set
Browse files Browse the repository at this point in the history
  • Loading branch information
JonRowe committed Apr 9, 2019
1 parent 80cf28e commit 3d36b4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gemspec
%w[rspec rspec-core rspec-expectations rspec-mocks rspec-support].each do |lib|
branch = ENV.fetch('BRANCH','3-1-maintenance')
library_path = File.expand_path("../../#{lib}", __FILE__)
if File.exist?(library_path)
if File.exist?(library_path) && !ENV['USE_GIT_REPOS']
gem lib, :path => library_path
else
gem lib, :git => "git://github.com/rspec/#{lib}.git",
Expand Down

0 comments on commit 3d36b4a

Please sign in to comment.