部署 Mina 部署的时候,remote 没有按照 remote 的 gemrc 执行

匿名 · 2016年01月30日 · 最后由 u1370743666 回复于 2016年01月31日 · 1517 次阅读

本地和远程的 .gemrc 内容:

---
:backtrace: false
:bulk_threshold: 1000
:sources:
- https://ruby.taobao.org/
:update_sources: true
:verbose: true
gem: "--no-document"

Gemfile 中还是 rubygems。

但是本地和远程无论 gem install 还是 bundle 都是走 taobao 的。而在执行 mina deploy,远程则走 rubygems,何解?

匿名 #2 2016年01月31日

#1 楼 @bastengao 谢谢~ gem 走 .gemrc,bundle 走 .bundle/config。明白了

需要 登录 后方可回复, 如果你还没有账号请 注册新账号