Skip to content

Commit

Permalink
Fix rspec-metagem
Browse files Browse the repository at this point in the history
  • Loading branch information
JonRowe committed Oct 22, 2024
1 parent 1c245c4 commit 142bab3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@ gemspec
%w[rspec rspec-core rspec-expectations rspec-mocks rspec-support].each do |lib|
branch = ENV.fetch('BRANCH','main')
library_path = File.expand_path("../../#{lib}", __FILE__)

if File.exist?(library_path) && !ENV['USE_GIT_REPOS']
gem lib, :path => library_path
elsif if lib == 'rspec'
gem 'rspec', :git => "https://github.com/rspec/rspec-metagem.git", :branch => branch
else
gem lib, :git => "https://github.com/rspec/#{lib}.git", :branch => branch
end
Expand Down

0 comments on commit 142bab3

Please sign in to comment.