bolasblack
V2EX  ›  Ruby

求助:bundle exec 非常慢

  •  
  •   bolasblack · Oct 14, 2014 · 4942 views
    This topic created in 4250 days ago, the information mentioned may be changed or developed.

    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
    

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

    1 replies    2014-10-14 17:30:32 +08:00
    bolasblack
        1
    bolasblack  
    OP
       Oct 14, 2014
    很奇怪,重新克隆下来 `bundle install` 后就不慢了……
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2750 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 15:41 · PVG 23:41 · LAX 08:41 · JFK 11:41
    ♥ Do have faith in what you're doing.