运行任何rake任务时,我得到:
NoMethodError:未定义的方法“ last_comment”
之后bundle update,引入了新版本的rake版本11.0.1。
$ grep rake Gemfile.lock
rake
rake (>= 0.8.7)
rake (11.0.1)
rake
$ bundle update
$ bundle exec rake db:drop # any rake task
NoMethodError:#<Rake :: Application:0x007ff0cf37be38>的未定义方法`last_comment'
版本号
- 导轨3.2.11
- 耙11.0.1
bundle exec在执行此操作后使用,如何仍然rake不使用bundle exec 继续使用?