Skip to content

Instantly share code, notes, and snippets.

Last active December 17, 2015 03:48
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
RVM, Ruby and Rails on Ubuntu


Open terminal then run: sudo apt-get install curl

Install RVM with curl -L | 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


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


Run gem install rails

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment