1. gem

1.1. 安装

https://github.com/FIRHQ/fir-cli/blob/master/doc/install.md

1.2. 源

最近淘宝源一直没更新。。。建议切换到Ruby China

$ gem sources -a https://gems.ruby-china.org/ -r https://ruby.taobao.org/
$ gem sources -u

换回官方源

$ gem sources -a https://rubygems.org/ -r https://ruby.taobao.org/
$ gem sources -u

1.3. gem install

安装指定版本

gem install -v <version> <package>

results matching ""

    No results matching ""