Deltacloud / Ruby LoadError

时间:2011-11-04 18:41:33

标签: ruby rvm

我刚刚在OS 10.6上使用Ruby 1.9.2进行了新的RVM构建,我正在努力让Deltacloud启动并运行。好像宝石有问题,但我不确定我在处理什么。

craigb@macbook:>rvm list

rvm rubies

   ree-1.8.7-2011.03 [ i686 ]
=> ruby-1.9.2-p290 [ i386 ]
   ruby-1.9.3-p0 [ x86_64 ]

craigb@macbook:>rvm gemset list

gemsets for ruby-1.9.2-p290 (found in /Users/craigb/.rvm/gems/ruby-1.9.2-p290)
   global

craigb@macbook:>deltacloudd -l
/Users/craigb/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require': no such file to load -- server.rb (LoadError)
    from /Users/craigb/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require'
    from /Users/craigb/.rvm/gems/ruby-1.9.2-p290/gems/deltacloud-core-0.4.1/bin/deltacloudd:115:in `<top (required)>'
    from /Users/craigb/.rvm/gems/ruby-1.9.2-p290/bin/deltacloudd:21:in `load'
    from /Users/craigb/.rvm/gems/ruby-1.9.2-p290/bin/deltacloudd:21:in `<main>'
craigb@macbook:>

有人能指出我正确的方向吗?

1 个答案:

答案 0 :(得分:1)

此拉取请求包含问题的补丁;代码在git中更新,但即使在最新的gem中也显然不是最新的。这是bin / deltacloudd

的单行编辑

https://github.com/apache/deltacloud/pull/3