开发者

Could not find devise-1.4.6 in any of the sources

开发者 https://www.devze.com 2023-04-09 17:30 出处:网络
I have installed devise 1.4.6 succesfully on my local development environment. I have this in my bundle file: gem \'devise\'

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号