deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Petter Reinholdtsen <>
Subject Missing step no deltacloud installation page (for RHEL 6 at least)
Date Tue, 20 Nov 2012 12:41:19 GMT

Hi.  I just tried to follow the installation instructions for Red Hat
Enterprise Linux on
<URL: > and got
stuck after installation with this error message:

# deltacloudd -i mock
Starting Deltacloud API :: mock :: http://localhost:3001/api

/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such
file to load -- require_relative (LoadError)
        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.0.5/lib/deltacloud_rack.rb:16
        from /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.0.5/ `load'
        from /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.0.5/
        from /usr/lib/ruby/gems/1.8/gems/rack-1.4.1/lib/rack/builder.rb:51:in `instance_eval'
        from /usr/lib/ruby/gems/1.8/gems/rack-1.4.1/lib/rack/builder.rb:51:in `initialize'
        from /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.0.5/ `new'
        from /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.0.5/

This is caused by this line in deltacloud_rack.rb:

  require 'require_relative' if RUBY_VERSION < '1.9'

Is there a step missing in the instructions, or is ruby 1.9 required to
get it working?

After wasting quite a lot of time, I managed to get around this problem

  gem install require_relative

Please update the web page to mention this step.  It would help us
without much ruby knowledge to make headway more quickly.  :)

Happy hacking
Petter Reinholdtsen

View raw message