[one-users] sunstone sinatra error
Patricia Santos Marco
psantos at bifi.es
Mon Apr 4 03:21:17 PDT 2011
Hello! I am trying to run sunstone, and I have found this error:
/usr/lib/one/sunstone/sunstone-server.rb:23:in `require': no such file to
load -- sinatra (LoadError)
from /usr/lib/one/sunstone/sunstone-server.rb:23:in `<top
(required)>'
from /usr/lib/one/sunstone/config.ru:24:in `require'
from /usr/lib/one/sunstone/config.ru:24:in `block in <main>'
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>'
My SO is scientific Linux 5.6, and my ruby, sinatra, rack and thin versions
are:
ruby 1.9.1p376
rubygem-sinatra-1.0-2.el5.noarch
rack-1.2.2
thin-1.2.11
Previously, I have been the same problem of
http://lists.opennebula.org/pipermail/users-opennebula.org/2011-March/004391.html,
and I have change the line 20 of the
*$ONE_LOCATION/lib/ruby/sunstone/config.ru * to* **$: <<
::File.dirname(__FILE__) *instead of *$: << File.dirname(__FILE__)
*
--
--------------------------------------------------------
Patricia Santos Marco
Institute for Biocomputation and Physics of Complex Systems
University of Zaragoza (BIFI)
------
Instituto de Biocomputación y Física de Sistemas Complejos
de la Universidad de Zaragoza (BIFI)
-----
E-mail: psantos(at)bifi.es
Phone: (+34)976-76-10-00 ext 5402
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110404/ef42ae1c/attachment-0002.htm>
More information about the Users
mailing list