rbenv tips

some tips about rb

gem源 https://ruby.taobao.org/
$ gem sources –add https://gems.ruby-china.org/ –remove https://rubygems.org/
$ gem sources -l
*** CURRENT SOURCES ***

https://gems.ruby-china.org
# 请确保只有 gems.ruby-china.org
$ gem install rails

rbenv install 加速
默认cache路径是~/.rbenv/cache,把从taboo.org下载下来的源码包放进去再rbenv install就行了。

ps,编译安装用的组建叫ruby-build,github上和rbenv同一个用户的repo,有其他问题可以上去看readme

发表评论

邮箱地址不会被公开。 必填项已用*标注