[one-users] sunstone-server problem

Héctor Sanjuán hsanjuan at opennebula.org
Wed Mar 2 04:21:27 PST 2011


El 02/03/11 13:12, Ruben Diez escribió:
> Hi:
> 
> The sunstone-server don't work for us....
> 
> This is the sunstone.log file contents:
> 
> /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/server.rb:228: warning:
> parenthesize argument(s) for future version
> /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:138:in `union':
> can't convert Array into String (TypeError)
>        from /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/utils.rb:138
>        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
>        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `require'
>        from
> /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/content_length.rb:1
>        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require'
>        from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `require'
>        from
> /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/handler/thin.rb:2
>        from
> /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/handler.rb:17:in
> `const_get'
>        from
> /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/handler.rb:17:in `get'
>        from
> /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/handler.rb:17:in `each'
>        from
> /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/handler.rb:17:in `get'
>        from
> /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/server.rb:217:in `server'
>        from
> /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/server.rb:213:in `start'
>        from
> /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/lib/rack/server.rb:100:in `start'
>        from /usr/lib/ruby/gems/1.8/gems/rack-1.2.1/bin/rackup:4
>        from /usr/bin/rackup:19:in `load'
>        from /usr/bin/rackup:19
> 
> 
> Any ideas???
> 

It seems you are using gems for ruby 1.8, Sunstone works with 1.9.2. Can
you try upgrading ruby to this version and see if the problem persists?

-- 
Héctor Sanjuan
OpenNebula.org



More information about the Users mailing list