Created
January 17, 2012 21:15
-
-
Save manuelmorales/1628919 to your computer and use it in GitHub Desktop.
Installing ruby 1.8.7 on Ubuntu 11.10 Oneiric with RVM
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
sudo apt-get install curl git-core ruby zlib1g-dev libxml2-dev mysql-client libsqlite3-dev libmysql-ruby libmysqlclient-dev libssl-dev libxslt-dev libreadline-dev zlib1g-dev | |
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer ) | |
source ~/.bashrc | |
rvm install 1.8.7 | |
# Optionally you can do this instead of installing the Ubuntu package for zlib and readline | |
# rvm package install readline | |
# rvm package install zlib | |
# rvm install 1.8.7 --with-zlib-dir=$rvm_path/usr --with-readline-dir=$rvm_path/usr | |
rvm 1.8.7 | |
gem install bundler | |
bundle install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment