Skip to content

Instantly share code, notes, and snippets.

@rhicks
Forked from jasoncodes/gist:1223731
Created July 21, 2012 18:47
Show Gist options
  • Save rhicks/3156727 to your computer and use it in GitHub Desktop.
Save rhicks/3156727 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 rbenv-vars
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment