Created
May 2, 2013 06:30
-
-
Save MasahiroSakoda/5500492 to your computer and use it in GitHub Desktop.
rbenv install script
environment: Mac OSX, using zsh
This file contains 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 characters
#/bin/bash | |
# move to home directory | |
cd ${HOME}; | |
# clone rbenv into home directory | |
git clone git://github.com/sstephenson/rbenv.git ~/.rbenv | |
# set env path for zsh | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zshenv | |
echo 'eval "$(rbenv init -)"' >> ~/.zshenv | |
# reactivate zsh | |
exec $SHELL | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment