查看当前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 添加源
网友评论