摘要:
gem#查看gem源gem sources# 删除默认的gem源gem sources --remove http://rubygems.org/# 增加taobao作为gem源gem sources -a http://ruby.taobao.org/# 查看当前的gem源gem sources*... 阅读全文
posted @ 2015-11-09 13:27
levyleo
阅读(239)
评论(0)
推荐(0)
摘要:
安装:ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"卸载:cd `brew --prefix`rm -rf Cellarbrew prunerm `git ls-fil... 阅读全文
posted @ 2015-11-09 13:25
levyleo
阅读(1258)
评论(0)
推荐(0)
摘要:
更新:brew updatebrew update —system安装, 如:brew install unrar卸载, 如:brew uninstall unrar 阅读全文
posted @ 2015-11-09 13:25
levyleo
阅读(205)
评论(0)
推荐(0)
摘要:
1. #查看当前ruby版本2. $ ruby -v3. ruby 1.8.74. #列出已知的ruby版本5. $ rvm list known6. #安装ruby 1.9.37. $ rvm install 1.9.38. 卸载9. rvm remove 1.9.3 阅读全文
posted @ 2015-11-09 13:24
levyleo
阅读(764)
评论(0)
推荐(0)
摘要:
安装:curl -L https://get.rvm.io | bash -s stable --autolibs=enabled [--ruby] [--rails] [—trace]$ curl -L get.rvm.io | bash -s stable1. $ source ~/.bashr... 阅读全文
posted @ 2015-11-09 13:23
levyleo
阅读(2304)
评论(0)
推荐(0)
摘要:
Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources1.gem source查看source: 将https://替换成http://gem source -r... 阅读全文
posted @ 2015-11-09 13:22
levyleo
阅读(468)
评论(0)
推荐(0)

浙公网安备 33010602011771号