I try to run rake routes
on an older Rails application, then I got this:
Gem::LoadError: You have already activated rake 11.1.2, but your Gemfile requires rake 10.4.2. Prepending `bundle exec` to your command may solve this.
So I tried bundle exec
, it works.
But how can I change my Gemfile so that I don't have to bundle exec
,
rake 10.4.2 is not explicitly in my Gemfile.
Thanks.