Created
August 20, 2010 04:23
-
-
Save mgomes/539596 to your computer and use it in GitHub Desktop.
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
# Install Ruby 1.9.2 on OS 10.6 | |
# Uses RVM and homebrew | |
# Install RVM (if you haven't already) | |
bash < <( curl http://rvm.beginrescueend.com/releases/rvm-install-head ) | |
# Install homebrew (if you haven't already) | |
ruby -e "$(curl -fsS http://gist.github.com/raw/323731/install_homebrew.rb)" | |
# If you already had rvm installed (older versions only) | |
rvm update | |
rvm reload | |
# Install iconv | |
rvm package install iconv | |
# Install libyaml | |
brew install libyaml | |
# Install readline | |
brew install readline | |
# Install Ruby 1.9.2 | |
rvm install 1.9.2 -C --with-readline-dir=/usr/local/Cellar,--with-libyaml-dir=/usr/local/Cellar,--with-iconv-dir=$HOME/.rvm/usr,--build=x86_64-apple-darwin10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment