Foremad 1.6 - Gem cannot load nokogiri/nokogiri

  • Other recipients: *
    Hi, I am installing Foreman 1.6 on Red Hat Linux 6.4. In
    /var/log/foreman/cron.log and also on http://hostname page, there is error:
    Gem loading error: cannot load such file – nokogiri/nokogiri
    (RuntimeError) /opt/rh/ruby193/root/usr/share/gems/gems
    Hi,

I am installing Foreman 1.6 on Red Hat Linux 6.4.

In /var/log/foreman/cron.log and also on http://hostname page, there is
error:

Gem loading error: cannot load such file – nokogiri/nokogiri
(RuntimeError)

/opt/rh/ruby193/root/usr/share/gems/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:30:in
`strict_error'

/opt/rh/ruby193/root/usr/share/gems/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:56:in
`rescue in block in system_require'

/opt/rh/ruby193/root/usr/share/gems/gems/bundler_ext-0.3.0/lib/bundler_ext/bundler_ext.rb:37:in
`block in system_require'

I checked my machine and found those rpms:

ruby-nokogiri-1.4.3.1-1.el6.x86_64
rubygem-nokogiri-1.4.3.1-1.el6.x86_64
ruby193-rubygem-nokogiri-1.5.11-1.el6.x86_64

What else do I need?

Thanks a lot!