bolasblack
V2EX  ›  Ruby

求助:bundle exec 非常慢

  •  
  •   bolasblack · Oct 14, 2014 · 4962 views
    This topic created in 4264 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   ·   5294 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 51ms · UTC 08:08 · PVG 16:08 · LAX 01:08 · JFK 04:08
    ♥ Do have faith in what you're doing.