I have installed devise 1.4.6 succesfully on my local development environment. I have this in my bundle file: gem 'devise'
But when I want to deploy it to heroku, it says "Could not find devise-1.4.6 in any of the sources". What shoul开发者_如何转开发d I do? Thanks!
Add the following line just at the beginning of your Gemfile:
source "http://rubygems.org"
Heroku doesn't seem to have RubyGems in their list of sources for gems.
Alternatively you might want to execute bundle update
to update your gems to the newest version (iirc, devise 1.4.7 is out) and then push to heroku again.
精彩评论