Created
February 24, 2014 02:26
-
-
Save corrupt952/9180912 to your computer and use it in GitHub Desktop.
rbenvのインストールスクリプト
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 | |
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv | |
mkdir -p ~/.rbenv/plugins | |
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
echo "export PATH=\"~/.rbenv/bin:~/.rbenv/shims:\$PATH\"" >> ~/.bash_profile | |
echo 'rbenv init - >> /dev/null' >> ~/.bash_profile |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment