Skip to content

Commit d6977e0

Browse files
authored
Merge pull request #54 from amatsuda/fix_build
Fixing the CI build failure
2 parents 946fb68 + 14e6b9a commit d6977e0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Gemfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,13 @@ source 'https://rubygems.org'
22

33
gemspec
44

5-
%w[rspec rspec-support rspec-core rspec-expectations rspec-mocks].each do |lib|
5+
%w[rspec-metagem rspec-support rspec-core rspec-expectations rspec-mocks].each do |lib|
6+
gem_name = lib.sub('rspec-metagem', 'rspec')
67
library_path = File.expand_path("../../#{lib}", __FILE__)
78
if File.exist?(library_path) && !ENV['USE_GIT_REPOS']
8-
gem lib, :path => library_path
9+
gem gem_name, :path => library_path
910
else
10-
gem lib, :git => "https://github.com/rspec/#{lib}.git", :branch => ENV.fetch('BRANCH', 'main')
11+
gem gem_name, :git => "https://github.com/rspec/#{lib}.git", :branch => ENV.fetch('BRANCH', 'main')
1112
end
1213
end
1314

0 commit comments

Comments
 (0)