Last active
October 3, 2015 17:27
-
-
Save celsodantas/2494246 to your computer and use it in GitHub Desktop.
Ruby install Ubuntu
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
1 sudo apt-get install curl git-core | |
2 bash < <(curl -sk https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) | |
3 echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"' >> ~/.bashrc | |
4 source ~/.bashrc | |
5 sudo apt-get install build-essential openssl libreadline6 libreadline6-dev zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev autoconf libc6-dev libncurses5-dev automake libtool bison subversion | |
6 rvm install 1.9.2 | |
7 rvm use 1.9.2 --default | |
8 ruby -v | |
9 gem install rails | |
10 sudo apt-get install nodejs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment