Last active
August 29, 2015 13:59
-
-
Save ddaws/10944544 to your computer and use it in GitHub Desktop.
Rbenv install script I currently use with [Vagrant](http://www.vagrantup.com/) in [Development Enviroment](https://github.com/dreid93/devenv).
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 | |
RBENV_DIR=$HOME/.rbenv | |
if [ ! -d "$RBENV_DIR" ]; then | |
git clone https://github.com/sstephenson/rbenv.git $RBENV_DIR | |
echo 'export PATH="$RBENV_DIR/bin:$PATH"' >> ~/.bash_profile | |
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile | |
git clone https://github.com/sstephenson/ruby-build.git $RBENV_DIR/plugins/ruby-build | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment