In order to test
rails 3 and
ruby 1.9.2, I've migrated to
Ubuntu 10.04. During the installation I ran into a few issues and had conflicts with both my version of OS and my versions of ruby.
Here is the list of the lessons learned :
Rule number 1 : always install the latest version of RVM (it's updated very frequently).
gem install rvm
Rule number 2 : Go and modify your bash files when it tells you to do so (I did not do it at first and it completely messed up my later installs, with RVM mixing old and new paths for gems).
Rule number 3 : On lucid lynx (Ubuntu 10.04), you cannot update the rubygems by doing
gem update -system. It's likely that you will have version 1.3.5 as it is the official version supported by the distribution. To upgrade to the required 1.3.7, follow this procedure :
sudo gem install rubygems-update
sudo rubygems_update
when you do gem --version
you should now see > 1.3.7 instead of > 1.3.5
if you still see 1.3.5, i suggest you to do the following before the above procedure:
sudo apt-get remove rubygems
Rule number 4: install the pre-requisites for Rails 3 rc2
gem install tzinfo builder memcache-client rack rack-test erubis mail text-format bundler thor i18n
Rule number 5: install rails
gem install rails --pre
VoilĂ , you can now start to play or upgrade your apps (see the screencasts below).
As soon as Luis Lavena releases the new 1.9.2 ruby installer I will try and document the same process on windows (with PIK, the windows equivalent of RVM).
There are a lot of great Rails 3 tutorials available now. If you start I recommend the
railscasts numerous episodes on the topic or the
envylabs screencasts made for the latest railsconf. They both do a fantastic job for the community.
For the help with the install, the credits go to the people in
this thread.