Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>It took trying 3 different methods of installing and uninstalling Ruby, but I finally got it!</p> <p>I found a great tutorial by <a href="http://toranbillups.com/blog/archive/2010/09/01/How-to-install-Rails-3.0-and-Ruby-1.9.2-on-Ubuntu" rel="nofollow">Toran Billups</a> which gives some great instructions. After analyzing what he did, it comes down to a few key concepts:</p> <ol> <li>Some libraries that are independent of the Ruby version must be installed in the system (using "sudo apt-get"). </li> <li>Use RVM to install Ruby in your own account. i.e. no "sudo". </li> <li>Use gem to install gems in your particular ruby environment. (i.e. no "sudo"). When you set 1.8 as the Ruby environment, the gems are installed in the RVM 1.8 tree in your environment. When you set 1.9.2 as the environment, gems are installed in the 1.9.2 tree in your environment. </li> </ol> <p>Here, then, is the process. </p> <ol> <li>Remove all Ruby programs (1.8.x and 1.9.2) and Ruby libraries from your Ubuntu 10.4 system.</li> <li>Install RVM on your system, following the instructions at the <del><a href="http://rvm.beginrescueend.com/rvm/install/" rel="nofollow">RVM site</a></del><em>(broken)</em> <a href="https://rvm.io/rvm/install" rel="nofollow">RVM site</a>. </li> <li>Follow <a href="http://toranbillups.com/blog/archive/2010/09/01/How-to-install-Rails-3.0-and-Ruby-1.9.2-on-Ubuntu" rel="nofollow">Toran Billups' tutorial</a>, starting at the point where you install Ruby 1.8.7. </li> <li>Follow the instructions at <del><a href="http://railstutorial.org/ruby-on-rails-tutorial-book" rel="nofollow">Michael Hartl's tutorial</a></del><em>(broken)</em> <a href="http://rails-3-2.railstutorial.org/book/beginning" rel="nofollow">Michael Hartl's tutorial</a> to get Rails 3.0 working with Ruby 1.9.2, github, heroku.com, rspec, spork, and autotest. </li> </ol>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload