新手问题 bundle exec 非常慢

bolasblack · 2014年10月14日 · 最后由 bolasblack 回复于 2014年10月14日 · 1950 次阅读

Ruby 版本 2.1.1 Bundle 版本 1.7.3 操作系统是跑在 Vagrant 里的 Gentoo

比如调用 bundle exec annotate 的时候:

Nothing annotated.
bundle exec annotate  4.33s user 54.82s system 46% cpu 2:08.45 total

Rake 相关的命令也执行的非常慢,比如 bundle exec rake db:migrate

bundle exec rake db:migrate  4.31s user 55.93s system 53% cpu 1:51.99 total

请问大家有这种经验吗?什么东西会导致这种情况发生?

很奇怪,重新克隆下来 bundle install 后就不慢了……

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