When I try execute \'bundle exec rake anything\', I get error:
Could not find rake-10.1.0 in any of the sources. Run `bundle install` to install mis
I had this problem with an AWS instance, managed by OpsWorks. I was logged in as ec2user. I switched over to the deploy user via sudo su - deploy and ran the bundle command again and it completed without error
sudo su - deploy