You have already activated X, but your Gemfile requires Y

前端 未结 8 2560
逝去的感伤
逝去的感伤 2020-11-27 10:43

When running rake I get this error:

You have already activated rake 0.9.2, but your Gemfile requires rake 0.8.7. Consider using bundle ex

8条回答
  •  野性不改
    2020-11-27 11:19

    Ooh! The Katz article is excellent!

    I like this solution the best:

    bundle install --binstubs
    

    so that you can now type

    bin/rake .stuff.
    

    For someone like myself who is developing both 2.3 and 3.0.9 apps, this makes me feel a lot better.

提交回复
热议问题