Project

General

Profile

Actions

Bug #3580

closed

katello bridge won't load on Ruby 1.8

Added by Martin Bacovsky over 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

hammer
Error: undefined method `find_by_name' for Gem::Specification:Class
[root@mdp2-1 katello]# hammer --verbose
[ INFO 2013-11-04 12:35:49 Init] Configuration from the file /etc/foreman/cli_config.yml has been loaded
[ INFO 2013-11-04 12:35:49 Init] Extension module hammer_cli_foreman loaded
[ERROR 2013-11-04 12:35:49 Init] Error while loading module hammer_cli_katello_bridge
[ERROR 2013-11-04 12:35:49 Exception] Error: undefined method `find_by_name' for Gem::Specification:Class
Error: undefined method `find_by_name' for Gem::Specification:Class
[ERROR 2013-11-04 12:35:49 Exception] 

NoMethodError (undefined method `find_by_name' for Gem::Specification:Class):
    /usr/lib/ruby/gems/1.8/gems/hammer_cli_katello_bridge-0.0.6/lib/hammer_cli_katello_bridge.rb:81
    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `gem_original_require'
    /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in `require'
    /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.0.8/bin/hammer:52
    /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.0.8/bin/hammer:50:in `each'
    /usr/lib/ruby/gems/1.8/gems/hammer_cli-0.0.8/bin/hammer:50
    /usr/bin/hammer:19:in `load'
    /usr/bin/hammer:19

See bug: https://bugzilla.redhat.com/show_bug.cgi?id=1026462

Actions #1

Updated by Martin Bacovsky over 10 years ago

  • Status changed from Assigned to Ready For Testing
Actions #2

Updated by Martin Bacovsky over 10 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Applied in changeset foreman:hammer-cli-katello-bridge|commit:10a093fbce36f0483715fd638843de535942e676.

Actions #3

Updated by Tomáš Strachota over 7 years ago

  • Project changed from Hammer CLI to Katello
  • Category changed from 62 to Hammer
Actions #4

Updated by Justin Sherrill over 7 years ago

  • translation missing: en.field_release set to 166
Actions

Also available in: Atom PDF