while running:
rake snorby:setup
getting below error:
rake aborted!
You have already activated rake 0.9.2.2, but your Gemfile requires rake 0.9.2. Using bundle exec may solve this.
(See full trace by running task with –trace)
Please help.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try
this error derived from the fact that you have multiple versions of
rakegem, even newer than the one required by yourGemfile.You can see this by typing
that should print on your console something like this:
since
rakeis a tool you launch from the outside of a Rails (bundler) environment, it cannot know anything about bundle version unless you explicitly specify to follow bundler’s version directions with thebundle execcommand.