Deactivate a Gem - “you have already activated rake 0.9.3.beta.1, but my Gemfile requires rake 0.9.2”

后端 未结 3 2129
深忆病人
深忆病人 2021-02-13 14:12

I\'m trying to run a migration but I keep getting the error message that is:

rake aborted! Undefined method prerequisite for nil:NilClass.

It s

3条回答
  •  长发绾君心
    2021-02-13 14:29

    One other way that worked for me was, went to the Gemfile.lock and changed Rake version from 0.9.2.2 to 0.9.3.beta.1.

提交回复
热议问题