Forked from stephanetimmermans/ubuntu-compass-ruby
Last active
August 29, 2015 14:13
-
-
Save zbee/d633b703881b49983d80 to your computer and use it in GitHub Desktop.
Install ruby on Ubuntu
This file contains 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
#https://gorails.com/setup/ubuntu/14.04 | |
sudo apt-get update | |
sudo apt-get install git-core curl zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev python-software-properties | |
sudo apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev | |
curl -L https://get.rvm.io | bash -s stable | |
#if GPG signature verification fails, do `$ curl -sSL https://rvm.io/mpapis.asc | gpg --import -` | |
#then retry the previous command | |
source ~/.rvm/scripts/rvm | |
echo "source ~/.rvm/scripts/rvm" >> ~/.bashrc | |
rvm install 2.1.2 | |
rvm use 2.1.2 --default | |
ruby -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment