Hello!<br>Thanks for your help!<div><br></div><div>I use Ruby 1.9.1-p431 installed with RVM.</div><div>I tried what you said, but it didn't work.: rackup $SUNSTONE_SERVER -s thin -p $PORT -o $HOST /usr/local/rvm/gems/ruby-1.9.1-p431/bin</div>



<div><br></div><div>I got the error: </div><div>/usr/local/rvm/rubies/ruby-1.9.1-p431/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36 : in 'require': no such file to load -- /usr/local/rvm/gems/ruby-1.9.1-431/bin (LoadError)</div>


<div><br></div><div><b>I solved the problem instead by doing this:<br></b>Install Ruby Version Manager (RVM)</div><div>Install Ruby :rvm install 1.9.1</div><div>Install Rack, Sinatra, JSON and thin using RVM specifying that is is for Ruby 1.9.1 .</div>
<div>rvm use 1.9.1</div><div><br></div><div>Then I got another error. I Googled that error and followed the instructions that I found. It was adding to characters in one file.</div><div>After this everything worked !!</div>
<div><br></div><div>-- <span class="Apple-style-span" style="border-collapse: collapse; color: rgb(51, 51, 51); font-family: arial, sans-serif; font-size: 13px; ">Kind regards, Anders Branderud</span></div><div><span style="border-collapse:collapse;color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:13px">
<div><span style="border-collapse:collapse;color:rgb(51, 51, 51);font-family:arial, sans-serif;font-size:13px"><br></span></div>[Personal blog] <a href="http://www.proofexistencegod.com/will-of-god/will-of-god/" style="color:rgb(61, 84, 89)" target="_blank">Will of the Creator</a>  : Logical reasons - based on scientific premises - for the existence of a Super intelligent and Orderly Creator and that He hasn't left His sapient creatures without an Instruction Manual - Torah ['books of Moses'] - to ascertain, and aspire to, His purpose.<br>



<br>[Company] Anders Branderud IT Solutions - <a href="http://www.abitsolutions.org/" style="color:rgb(61, 84, 89)" target="_blank">www.abitsolutions.org</a></span></div><div><br><div class="gmail_quote">2011/6/10 Héctor Sanjuán <span dir="ltr"><<a href="mailto:hsanjuan@opennebula.org" target="_blank">hsanjuan@opennebula.org</a>></span><br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">El 07/06/11 15:40, Anders Branderud escribió:<br>
<div>> I don't know how to configure, so that the newer Ruby-version should be<br>
> used instead.<br>
<br>
</div>Hi, you can try editing bin/sunstone-server, finding the line 76 and<br>
changing the "rackup" command to the full path to the binary of the ruby<br>
version you want to use.<br>
<br>
74-  # Start the sunstone daemon<br>
75-  touch $SUNSTONE_LOCK_FILE<br>
76:  rackup $SUNSTONE_SERVER -s thin -p $PORT -o $HOST \  <---HERE<br>
77-                  -P $SUNSTONE_PID &> $SUNSTONE_LOG &<br>
78-<br>
<br>
Regards,<br>
<font color="#888888">--<br>
Héctor Sanjuán<br>
OpenNebula Sunstone Developer<br>
</font></blockquote></div><br><br clear="all"><br><br>
</div>