[RAILS] I got an error when I ran rake routes.

When I tried to check the routing with rails, I got the following error.

rake routes
rake aborted!
Gem::LoadError: You have already activated rake 13.0.3, but your Gemfile requires rake 12.3.3. 
Prepending `bundle exec` to your command may solve this.

Hmm. What is this? .. .. When I looked it up, it seems that bundle exec should be added before rake routes.

(Thank you for your reference.) https://qiita.com/ARTS_papa/items/41e2868273dd344cd317

bundle exec rake routes

I tried it with and succeeded. I'm glad I solved it.

Recommended Posts

I got an error when I ran rake routes.
When I bcrypt with node + docker, I got an error
When I ran a jar created using WildFly Swarm, I got an InvocationTargetException.
I get an error when adding a dependency
[Mockito] 3.2.4 → 3.3.x, but I got an error (Iketenai)
I got an error "undefined method` create'" in RSpec
I got an error when trying to install sbt to build a Scala development environment
I got an error! * There is no interactive request template
I got an InvalidUseOfMatchersException when using any with JUnit Mock
I got an IllegalAccessError when trying to use PowerMock with JUnit
I got an error and couldn't push! !! [error: failed to push some refs to]
I got a Permission Denied error when I put Laravel in Docker
I want to display an error message when registering in the database
A reminder when an aapt.exe error occurs
When registering a new user, I got an error called ActiveRecord :: NotNullViolation and how to deal with it.
When I tried to start GlassFish, I got an internal error while "Publishing to GlassFish 4.0 on localhost ...". What to do when it becomes
In WSL2, when I did `docker-compose up`, I got an error saying that the sh file was not found.
When I renew the certificate with CircleCI × fastlane, I get an exit status: 65 error.
I get an error when I try to use "^" or "$" in ruby ​​regular expression
When deploying to Heroku, OpenApp causes an error
I got stuck when port forwarding with VBox
I have a question. I get an error when playing a video in Listview on android.
What I thought when I started working as an engineer
Unsupported major.minor version 52.0 A memorandum when I got hooked
I found no way to get the error code when I received an exception on Android
[RSpec] When I tested the view file that used the helper method, I got ActionView :: Template :: Error :. ..
When I did rails new, I got an error saying PG :: ConnectionBad: could not connect to server: No such file or directory