Created
March 22, 2012 06:31
-
-
Save aileron/2156651 to your computer and use it in GitHub Desktop.
ruby のインストール方法 ( rbenv + ruby-build )
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
git clone git://github.com/sstephenson/rbenv.git ~/.rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.zprofile | |
echo 'eval "$(rbenv init -)"' >> ~/.zprofile | |
git clone git://github.com/sstephenson/ruby-build.git | |
cd ruby-build | |
./install.sh | |
CONFIGURE_OPTS="--with-readline-dir=/usr/local" rbenv install 1.9.3-p0 | |
rbenv global 1.9.3-p0 | |
rbenv rehash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment