Skip to content

Instantly share code, notes, and snippets.

@larsthegeek
Forked from jasoncodes/gist:1223731
Created June 21, 2012 19:30
Show Gist options
  • Save larsthegeek/2967980 to your computer and use it in GitHub Desktop.
Save larsthegeek/2967980 to your computer and use it in GitHub Desktop.
Installing Ruby 1.9.3 with rbenv
brew install rbenv
brew install 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
brew install ctags
echo 'eval "$(rbenv init - --no-rehash)"' >> ~/.bash_profile
exec $SHELL -i # reload the shell
CONFIGURE_OPTS="--disable-install-doc --with-readline-dir=$(brew --prefix readline)" rbenv install 1.9.3-p194
rbenv global 1.9.3-p194
gem install bundler rbenv-rehash git-up hitch gem-browse gem-ctags cheat awesome_print pry
gem ctags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment