Created
January 6, 2012 03:30
-
-
Save calpo/1568806 to your computer and use it in GitHub Desktop.
個人rvmインストール
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/sh | |
# install rvm | |
cd | |
mkdir -p .rvm/src | |
cd .rvm/src | |
git clone git://github.com/wayneeseguin/rvm.git | |
cd rvm/ | |
./install | |
vi ~/.bashrc | |
# ↓が加えられている | |
# ---------------------------------------- | |
# [[ -s "/home/skanno/.rvm/scripts/rvm" ]] && source "/home/skanno/.rvm/scripts/rvm" # Load RVM into a shell session *as a function* | |
# ---------------------------------------- | |
source ~/.bashrc | |
rvm install 1.9.2 | |
#5分くらいかかる | |
rvm use 1.9.2 --default | |
ruby -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment