Skip to content

Instantly share code, notes, and snippets.

@ywatai
Created February 23, 2012 15:42
Show Gist options
  • Save ywatai/1893358 to your computer and use it in GitHub Desktop.
Save ywatai/1893358 to your computer and use it in GitHub Desktop.
rbenv installation on Mac (log)
% brew update
% brew install rbenv
==> Downloading https://github.com/sstephenson/rbenv/tarball/v0.3.0
######################################################################## 100.0%
==> Caveats
To enable shims and autocompletion, add rbenv init to your profile:
eval "$(rbenv init -)"
==> Summary
/usr/local/Cellar/rbenv/0.3.0: 32 files, 160K, built in 6 seconds
% echo 'eval "$(rbenv init -)"' > ~/.zshrc.rbenv
% rbenv
:
% brew install ruby-build
==> Downloading https://github.com/sstephenson/ruby-build/tarball/v20120216
######################################################################## 100.0%
==> ./install.sh
/usr/local/Cellar/ruby-build/20120216: 38 files, 160K, built in 3 seconds
% rbenv install
:
% rbenv install 1.9.3-p125
% rbenv global 1.9.3-p125
% rbenv version
1.9.3-p125 (set by /Users/ywatai/.rbenv/version)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment