Setup RVM,Ruby and Rails 3 for development in OpenSuse 11.4

Currently there are only a few Linux distro’s that are officially supporting Gnome-shell. So naturally I had to make a transition from ubuntu which has been very good to me to Opensuse which has been a stable distribution. Since my main use for linux was ruby development i needed to recreate my build enviroment. Below are the commands I used to install RVM, Ruby and Rails 3.

From your linux console run these commands:

Insert the following code to the last line of your .bashrc file then save your changes
$HOME/.rvm/scripts/rvm” ]] && . “$HOME/.rvm/scripts/rvm”
Restart(close and open) a new console window and continue running these commands

  • rvm install 1.8.7
  • rvm install 1.9.2
  • rvm —default 1.9.2
  • rvm use 1.9.2
  • ruby -v
  • gem update —system
  • gem install rails