Permalink
Browse files

Update install_rvm

Fix sed script again
  • Loading branch information...
1 parent 482d790 commit ded942fc98c2f8f74b632ee7f45bedd387e6743b @huacnlee committed Nov 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 install_rvm
View
@@ -5,7 +5,7 @@ echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"' >>~/.bash
source ~/.bash_profile
echo ""
echo -n "Replace Ruby Download url to Taobao Mirror..."
-sed 's/ftp\.ruby-lang\.org\/pub\/ruby/ruby\.taobao\.org\/mirrors\/ruby/g' -i ~/.rvm/config/db
+sed -i -e 's/ftp\.ruby-lang\.org\/pub\/ruby/ruby\.taobao\.org\/mirrors\/ruby/g' ~/.rvm/config/db
echo "[Done]"
echo ""
echo ""

0 comments on commit ded942f

Please sign in to comment.