Actions
Bug #16101
closedFollowing the README in setting up hammer-cli-katello, you get a gem dependency conflict
Difficulty:
trivial
Triaged:
Description
If you follow hammer-cli-katello's README, you get a bundler error:
[!] There was an error parsing `Gemfile`: You cannot specify the same gem twice coming from different sources. You specified that hammer_cli (>= 0) should come from https://github.com/theforeman/hammer-cli.git (at master) and source at `../hammer-cli` . Bundler cannot continue. # from /home/vagrant/Projects/hammer-cli-katello/Gemfile:25 # ------------------------------------------- # local_gemfile = File.join(File.dirname(__FILE__), file_name) > self.instance_eval(Bundler.read_file(local_gemfile)) if File.exist?(local_gemfile) # end # -------------------------------------------
It's because we added these lines to Gemfile:
group :development, :test do gem 'hammer_cli_foreman', :git => 'https://github.com/theforeman/hammer-cli-foreman.git' gem 'hammer_cli', :git => 'https://github.com/theforeman/hammer-cli.git' end
I propose we remove these lines and document how users can use either local checkouts or git repos.
Updated by The Foreman Bot over 8 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/hammer-cli-katello/pull/442 added
Updated by Anonymous over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-katello|f46fbd641171a0cae871f268230ef484f50bae44.
Updated by Justin Sherrill over 8 years ago
- Translation missing: en.field_release set to 162
Updated by The Foreman Bot over 8 years ago
- Pull request https://github.com/Katello/hammer-cli-katello/pull/443 added
Actions