Project

General

Profile

Bug #3580

katello bridge won't load on Ruby 1.8

Added by Martin Bacovsky over 8 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer
Target version:
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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

History

#1 Updated by Martin Bacovsky over 8 years ago

  • Status changed from Assigned to Ready For Testing

#2 Updated by Martin Bacovsky over 8 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.

#3 Updated by Tomáš Strachota over 5 years ago

  • Project changed from Hammer CLI to Katello
  • Category changed from 62 to Hammer

#4 Updated by Justin Sherrill over 5 years ago

  • Legacy Backlogs Release (now unused) set to 166

Also available in: Atom PDF