Skip to content

Instantly share code, notes, and snippets.

@embs
Created June 8, 2012 17:14
Show Gist options
  • Save embs/2896941 to your computer and use it in GitHub Desktop.
Save embs/2896941 to your computer and use it in GitHub Desktop.
Installing Ruby 1.9.3 and Rails gem with RVM

Requisite

  • RVM

Get latest version of RVM

rvm get latest

Install dependencies

sudo apt-get install build-essential libreadline6 libreadline6-dev zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion

Install Ruby 1.9.3

rvm install 1.9.3

Select the brand new ruby version

rvm use 1.9.3

Install Rails

gem install rails

Finish Him

Enjoy it.

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