美文网首页
Ruby 包管理工具gem查看/修改源

Ruby 包管理工具gem查看/修改源

作者: 大城子 | 来源:发表于2019-07-16 14:15 被阅读0次

查看当前gem源

AAAA:~ AAA$ gem sources
*** CURRENT SOURCES ***

https://gems.ruby-china.org/

修改gem源

/*
  * Options:
  *  -a, --add SOURCE_URI             Add source
  *  -l, --list                       List sources
  *  -r, --remove SOURCE_URI          Remove source
  *  -c, --clear-all                  Remove all sources (clear the cache)
  *  -u, --update                     Update source cache
*/

gem sources -a 添加源

相关文章

网友评论

      本文标题:Ruby 包管理工具gem查看/修改源

      本文链接:https://www.haomeiwen.com/subject/tchokctx.html