Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Bundler::GemNotFound: Could not find rake-0.9.2.2 in any of the sources #20
I encountered this error when I do the deployment.
I could see the rake-0.9.2.2 in the output of the
It seems that capistrano is not using the rvm string in the deploy.rb.
I put all the information to https://gist.github.com/3005237. Please help.
Thanks a lot.
No, I am not using other plugins, I ran your command and outputs nothing.
The torquebox settings are brought by
I am using jruby in Dev and Staging environment. Since the agent forwarding problem with jruby, I am using ruby-1.9.2 to trigger the capistrano deployment process, could it be the problem?
it's cleanly loading rvm/capistrano properly as you can see in the last line of both lines.
you can check if bundler worked properly with:
It has to point to
I think the issue might be that you are trying to use jruby which was compiled in 1.8 mode as default and switch it to 1.9 at runtime, I had one report earlier about similar problem.
Try to reinstall jruby with 1.9 as default, on server run:
also as a side note jruby-188.8.131.52 is available including important fixes (important enough to release new version where 1.6.7 was supposed to be the last release for 1.6 tree)
Thanks a lot and also for the note.
And I could not see it in
Then I've tried some combinations, and I found that once I add
If I do not add