package manager gem use gem list # list all install gem gem install xxx # gem sources -l # list source 修改源 # 添加 ruby-china 的 gems 源 gem sources --add https://gems.ruby-china.com/ --remove https://rubygems.org/ npm