Hi Petter, Nice catch, more comments inline:
On Tue, Nov 20, 2012 at 1:41 PM, Petter Reinholdtsen <[email protected]> wrote: > > 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? > Actually what's that ruby line is saying is: If your version is lower than 1.9 use this gem. > After wasting quite a lot of time, I managed to get around this problem > using > > gem install require_relative > That's not the workaround, it's the right way to go :) Just installing the gem. Anyhow next time, you can try also to reach us on IRC gonna be more and more faster :) > Please update the web page to mention this step. It would help us > without much ruby knowledge to make headway more quickly. :) > Yeah, thanks again for your suggestion, it's something that will review soon! --- Francesco Vollero Software Engineer at Aeolus Project and Deltacloud
