[one-users] Sunstone ruby errors?

Whiffen, Richard Richard_Whiffen at cable.comcast.com
Tue Mar 15 13:59:20 PDT 2011


I've been unable to get sunstone to work. I was running the 1.85 version of ruby and was experiencing the same 'union' issue.  Daniel suggested to another list member try upgrading Ruby to a 1.9 or downgrading the rack release.  Downgrading didn't work, so I tried upgrading to 1.9.  I now get a different Ruby error:

[oneadmin at io-kvm-ctrl-01 one]$ more /var/log/one/sunstone.log
/usr/lib/one/sunstone/config.ru:20:in `block in <main>': undefined method `dirname' for Rack::File:Class (NoMethodError)
        from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb:46:in `instance_eval'
        from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb:46:in `initialize'
        from /usr/lib/one/sunstone/config.ru:1:in `new'
        from /usr/lib/one/sunstone/config.ru:1:in `<main>'
        from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb:35:in `eval'
        from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/builder.rb:35:in `parse_file'
        from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/server.rb:162:in `app'
        from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/server.rb:248:in `wrapped_app'
        from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/server.rb:213:in `start'
        from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.2/lib/rack/server.rb:100:in `start'
        from /usr/local/lib/ruby/gems/1.9.1/gems/rack-1.2.2/bin/rackup:4:in `<top (required)>'
        from /usr/local/bin/rackup:19:in `load'
        from /usr/local/bin/rackup:19:in `<main>'
[oneadmin at io-kvm-ctrl-01 one]$ ruby --version
ruby 1.9.1p376 (2009-12-07 revision 26041) [x86_64-linux]
[oneadmin at io-kvm-ctrl-01 one]$

Google turns up this, which points to 'thin'.
https://github.com/documentcloud/cloud-crowd/issues/6

I'm not much of a ruby guy, so anyone have any ideas how to get past this?

Rich

--
Rich Whiffen
richard_whiffen at cable.comcast.com<applewebdata://BC215736-71C2-46D5-8255-FA734AFE6DFC/richard_whiffen@cable.comcast.com>
AIM: richwhiffen
Yahoo: richwhiffen
Phone: 202-449-1312
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110315/2bb060ca/attachment-0002.htm>


More information about the Users mailing list