【问题标题】:`bundle exec` very slow`bundle exec` 非常慢
【发布时间】: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


    【解决方案1】:

    重新克隆repo并执行命令bundle install后,问题已解决。

    【讨论】:

    • 对我不起作用
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-09-22
    • 2015-05-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2017-12-12
    • 2015-06-14
    相关资源
    最近更新 更多