Open nebula 4.4 installation from rpm big problem

hello all,

I am trying to install opennebula 4.4 from rpm packages on RHEL 6.4 . I have tried openenbula-ruby rpm package .

[root@wind opennebula-4.4.0-1_centos]# rpm -Uvh opennebula-ruby-4.4.0-1.x86_64.rpm
error: Failed dependencies:
rubygem-json is needed by opennebula-ruby-4.4.0-1.x86_64
rubygem-nokogiri is needed by opennebula-ruby-4.4.0-1.x86_64
rubygem-rack is needed by opennebula-ruby-4.4.0-1.x86_64
rubygem-sequel is needed by opennebula-ruby-4.4.0-1.x86_64
rubygem-sinatra is needed by opennebula-ruby-4.4.0-1.x86_64
rubygem-sqlite3-ruby is needed by opennebula-ruby-4.4.0-1.x86_64
rubygem-thin is needed by opennebula-ruby-4.4.0-1.x86_64
rubygem-uuidtools is needed by opennebula-ruby-4.4.0-1.x86_64
rubygems is needed by opennebula-ruby-4.4.0-1.x86_64

but I have installed rubygems . When I saw gem list that all gems are already installed …!!!

[root@wind opennebula-4.4.0-1_centos]# gem list

*** LOCAL GEMS ***

bigdecimal (1.2.0)
daemons (1.2.2)
eventmachine (1.0.7)
io-console (0.4.2)
json (1.8.2, 1.7.7)
mini_portile (0.6.2)
minitest (4.3.2)
nokogiri (1.6.6.2 x64-mingw32)
psych (2.0.0)
rack (1.6.0)
rack-protection (1.5.2)
rake (0.9.6)
rdoc (4.0.0)
rubygems-update (2.4.6)
sequel (4.18.0)
sinatra (1.4.5)
test-unit (2.0.0.0)
thin (1.6.3)
tilt (2.0.1, 1.3.7)
uuidtools (2.1.5)

I have also see gem environment . It shows ruby gems are installed but prblm still occurs
[root@wind opennebula-4.4.0-1_centos]# gem environment
RubyGems Environment:

  • RUBYGEMS VERSION: 2.4.6
  • RUBY VERSION: 2.0.0 (2015-02-25 patchlevel 643) [x86_64-linux]
  • INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/2.0.0
  • RUBY EXECUTABLE: /usr/local/bin/ruby
  • EXECUTABLE DIRECTORY: /usr/local/bin
  • SPEC CACHE DIRECTORY: /root/.gem/specs
  • SYSTEM CONFIGURATION DIRECTORY: /usr/local/etc
  • RUBYGEMS PLATFORMS:
    • ruby
    • x86_64-linux
  • GEM PATHS:
    • /usr/local/lib/ruby/gems/2.0.0
    • /root/.gem/ruby/2.0.0
  • GEM CONFIGURATION:
    • :update_sources => true
    • :verbose => true
    • :backtrace => false
    • :bulk_threshold => 1000
  • REMOTE SOURCES:
  • SHELL PATH:
    • /usr/lib64/qt-3.3/bin
    • /usr/local/sbin
    • /usr/sbin
    • /sbin
    • /usr/local/bin
    • /usr/bin
    • /bin
    • /root/bin

I think its problem with path.can anyone please help me out to solve this problem?

rubygems you see as installed is different from the RPM dependancies.

Try: rpm -qa|grep rubygem-nokogiri and check if this RPM is installed. I’m sure it is not.

Is EPEL activated?

btw 4.12.1 is out.1