问题描述
- 修改gem源为淘宝源的问题
-
~/app/rails/blog$ gem source
*** CURRENT SOURCES ***~/app/rails/blog$ bundle install
Fetching gem metadata from https://rubygems.org/............
Fetching version metadata from https://rubygems.org/...
Fetching dependency metadata from https://rubygems.org/..
为什么修改了gem源为淘宝源但是执行bundle install这个命令时还是从https://rubygems.org/获取资源?是没改对么,新手不懂~~
解决方案
解决方案二:
bundle config mirror.https://rubygems.org https://ruby.taobao.org
解决方案三:
bundle config mirror.https://rubygems.org https://ruby.taobao.org
时间: 2024-12-21 01:15:15