Created
May 7, 2013 09:02
-
-
Save knightq/5531268 to your computer and use it in GitHub Desktop.
Revisions
-
knightq created this gist
May 7, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ # The latest version of this script is now available at # https://github.com/jasoncodes/dotfiles/blob/master/aliases/rbenv.sh VERSION=1.9.3-p286 brew update brew install rbenv ruby-build rbenv-vars readline ctags if [ -n "${ZSH_VERSION:-}" ]; then echo 'eval "$(rbenv init - --no-rehash)"' >> ~/.zshrc else echo 'eval "$(rbenv init - --no-rehash)"' >> ~/.bash_profile fi eval "$(rbenv init - --no-rehash)" # load rbenv in the current shell CONFIGURE_OPTS="--disable-install-doc --with-readline-dir=$(brew --prefix readline)" rbenv install $VERSION rbenv global $VERSION gem install --no-ri --no-rdoc bundler rbenv-rehash git-up hitch gem-browse gem-ctags cheat awesome_print pry gem ctags