Created
November 20, 2013 07:58
-
-
Save ulinkwo/7559387 to your computer and use it in GitHub Desktop.
Install rbenv
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 characters
#!/bin/sh | |
# Check out rbenv into ~/.rbenv. | |
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv | |
# Add ~/.rbenv/bin to your $PATH for access to the rbenv command-line utility. | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile | |
# Add rbenv init to your shell to enable shims and autocompletion. | |
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile | |
# Add plugin to install ruby | |
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
git clone git://github.com/jf/rbenv-gemset.git ~/.rbenv/plugins/rbenv-gemset | |
git clone git://github.com/carsomyr/rbenv-bundler.git ~/.rbenv/plugins/rbenv-bundler |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment