Skip to content

Instantly share code, notes, and snippets.

@SethWilson
Forked from jasoncodes/gist:1223731
Created October 11, 2011 03:23
Show Gist options
  • Save SethWilson/1277194 to your computer and use it in GitHub Desktop.
Save SethWilson/1277194 to your computer and use it in GitHub Desktop.
Installing Ruby 1.9.2 with rbenv
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