Skip to content

Commit

Permalink
Merge pull request #41 from agrare/switch_to_ensure_gem
Browse files Browse the repository at this point in the history
Fix indirect gem overrides
  • Loading branch information
Fryguy authored Oct 23, 2019
2 parents ab4431c + 81c7575 commit 69a18eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/manageiq/cross_repo/runner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def generate_bundler_d
if gem_repos.empty?
FileUtils.rm_f override_path
else
content = gem_repos.map { |gem| "override_gem \"#{gem.repo}\", :path => \"#{gem.path}\"" }.join("\n")
content = gem_repos.map { |gem| "ensure_gem \"#{gem.repo}\", :path => \"#{gem.path}\"" }.join("\n")
FileUtils.mkdir_p(bundler_d_path)

File.write(override_path, content)
Expand Down

0 comments on commit 69a18eb

Please sign in to comment.