After upgrade to SAM 1.2, katello-jobs fails with "undefined method `require_relative' for main:Object (NoMethodError)"
Issue
- katello-upgrade failed on step2 :
2/2: Migrate Katello database (0004_migrate_katello_db.sh)
Updates Katello database schema to the latest version
Do you want to proceed? (y/n): y
Migrate Katello database FAILED.
- katello-jobs fails with start with the error :
/usr/lib/ruby/gems/1.8/gems/ldap_fluff-0.1.7/lib/ldap_fluff.rb:1: undefined method `require_relative' for main:Object (NoMethodError) from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/runtime.rb:68:in `require' from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/runtime.rb:68:in `require' from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/runtime.rb:66:in `each' from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/runtime.rb:66:in `require' from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/runtime.rb:55:in `each' from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler/runtime.rb:55:in `require' from /usr/lib/ruby/gems/1.8/gems/bundler-1.0.15/lib/bundler.rb:120:in `require'
from /usr/share/katello/config/application.rb:16
from /usr/share/katello/config/environment.rb:2:in `require'
from /usr/share/katello/config/environment.rb:2
from script/delayed_job:3:in `require'
from script/delayed_job:3
Environment
- Subscription Asset Manager 1.2
- Red Hat Enterprise Linux 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.