I installed mocha using gem install mocha and it did install successfully. There are no version requirements of a specific version in my GEMFILE.
I still get the error :
Could not find mocha-0.10.3 in any of the sources
Anyone knows why ?
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.
To install gems from
rubygems.org, you need to set thesource :rubygemsin the Gemfile, to make it look something likethe problem might also be that your Gemfile.lock requires an older version due to some dependencies, than the one you’ve installed via
gem install mocha, assuming that’s what you did.Showing contents of your Gemfile might help solve this easier though.