RVM
Open terminal then run: sudo apt-get install curl
Install RVM with curl -L get.rvm.io | bash -s stable --auto
Reload bash with . ~/.bash_profile
Run:
rvm requirements
should be successful and give you a bunch of text
Then run:
sudo apt-get install build-essential openssl libreadline6 libreadline6-dev \
curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 \
libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison \
subversion pkg-config
RUBY
Run rvm install 1.9.3
Run rvm use 1.9.3
Running ruby -v
should give you the correct ruby version
Run rvm --default use 1.9.3-pXXX
1.9.3pXXX should be the version result from ruby -v
RAILS
Run gem install rails