deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Petter Reinholdtsen <petter.reinholdt...@usit.uio.no>
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: http://deltacloud.apache.org/install-deltacloud.html > 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/config.ru:23:in `load'
        from /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.0.5/config.ru:23
        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/config.ru:1:in `new'
        from /usr/lib/ruby/gems/1.8/gems/deltacloud-core-1.0.5/config.ru:1
#

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
using

  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

Mime
View raw message