【发布时间】:2014-10-14 18:11:18
【问题描述】:
-
Ruby 版本:
ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux] -
捆绑版本:
Bundler version 1.7.3 -
Rails 版本
Rails 4.1.5 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
我找到了问题running scripts with bundle exec is slow,但是当我执行命令time bin/rake db:migrate时,也很慢:
bin/rake db:migrate 3.58s user 49.47s system 45% cpu 1:55.34 total
那么谁能告诉我发生了什么事?
谢谢
【问题讨论】:
标签: ruby-on-rails ruby bundler