-
-
Save SethWilson/1277194 to your computer and use it in GitHub Desktop.
Installing Ruby 1.9.2 with rbenv
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
brew install --HEAD rbenv | |
brew install --HEAD ruby-build | |
brew install --HEAD https://raw.github.com/jasoncodes/homebrew/rbenv-vars/Library/Formula/rbenv-vars.rb # https://github.com/mxcl/homebrew/pull/7891 | |
brew install readline | |
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile | |
echo 'gem() { rbenv exec gem "$@" && rbenv rehash && hash -r; }' >> ~/.bash_profile | |
exec | |
CONFIGURE_OPTS="--with-readline-dir=$(brew --prefix readline)" rbenv install 1.9.2-p290 | |
rbenv global 1.9.2-p290 | |
gem install bundler -v '~> 1.0.pre' | |
gem install git-up hitch gem-browse gem-ctags cheat awesome_print wirble bond | |
gem ctags |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment