Skip to content

Instantly share code, notes, and snippets.

@seikai
Last active December 11, 2015 21:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save seikai/4663654 to your computer and use it in GitHub Desktop.
Save seikai/4663654 to your computer and use it in GitHub Desktop.
Homebrew+rbenv+rails install log
brew install rbenv
brew install ruby-build
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
source ~/.bash_profile
rbenv rehash
brew install readline
brew link readline
CONFIGURE_OPTS="--with-readline-dir=/usr/local" rbenv install 1.9.3-p194
rbenv global 1.9.3-p194
rbenv rehash
rbenv version
ruby -v
echo "install: --no-ri --no-rdoc" >> ~/.gemrc
echo "update: --no-ri --no-rdoc" >> ~/.gemrc
rbenv exec gem install rails --version="~> 3.2.8"
rbenv rehash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment