I’m trying to deploy a Rails app to a Ubuntu 10.04 Lucid. I keep on getting this error:
Error message: Could not find cancan-1.6.5 in any of the sources (Bundler::GemNotFound)
Even though the gem is there. I packaged the gems and did a bundle local. Didn’t work.
So then I tried bundle install and didn’t worked either.
I did use RVM, but I’m using the same thing in my development machine and runs with no problem.
I get this too on the error page: Further information about the error may have been written to the application's log file. Please check it in order to analyse the problem. So I go to look for the production.log file and it’s not even there, there is just a development.log file
It sounds like you have an environment specific gem requirement.
Make sure you don’t have any
config.gemreferences in your config/environments/*.rb files.