Created
August 24, 2012 18:44
-
-
Save leonardteo/3454155 to your computer and use it in GitHub Desktop.
Install Script for Ruby 1.9.3 on Ubuntu 12.04 LTS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
curl -L https://get.rvm.io | sudo bash -s stable | |
usermod -a -G rvm ubuntu # 'ubuntu' is the default admin user | |
sudo apt-get -y 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 | |
source /usr/local/rvm/scripts/rvm | |
rvmsudo rvm install 1.9.3 | |
rvm --default use 1.9.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment