Skip to content

Instantly share code, notes, and snippets.

@marhan
Created March 18, 2012 11:01
Show Gist options
  • Save marhan/2070555 to your computer and use it in GitHub Desktop.
Save marhan/2070555 to your computer and use it in GitHub Desktop.
Install RVM on Ubtunu
#!/bin/bash
# install necessary packages on ubuntu
sudo apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev
# prevent webkit gem installation problem
# https://github.com/thoughtbot/capybara-webkit/wiki/Installing-Qt-and-compiling-capybara-webkit
sudo apt-get install libqt4-dev libqtwebkit-dev
# install rvm
# http://beginrescueend.com/
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment