Skip to content

Instantly share code, notes, and snippets.

@calpo
Created January 6, 2012 03:30
Show Gist options
  • Save calpo/1568806 to your computer and use it in GitHub Desktop.
Save calpo/1568806 to your computer and use it in GitHub Desktop.
個人rvmインストール
#!/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