Heroku Deploy无法找到devise-1.4.6 [英] Heroku Deploy can't find devise-1.4.6

查看:144
本文介绍了Heroku Deploy无法找到devise-1.4.6的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试部署到Heroku,但出现以下错误:

Trying to deploy to Heroku but get the following error:

-----> Gemfile detected, running Bundler version 1.0.7
       Unresolved dependencies detected; Installing...
       Using --without development:test
       Fetching source index for http://rubygems.org/
       Could not find devise-1.4.6 in any of the sources
       FAILED: http(preventing hyperlink)://devcenter.heroku.com/articles/bundler
 !     Heroku push rejected, failed to install gems via Bundler

我的宝石中有宝石文件,在顶部有源http://rubygems.org',并且运行捆绑安装和捆绑更新。不知道为什么Heroku正在寻找1.4.6。任何想法?

I have "gem 'devise'" in my gem file, have "source 'http://rubygems.org'" at the top, and have run both bundle install and bundle update. Not sure why Heroku is looking for 1.4.6. Any ideas?

谢谢!

John

这是gemfile:

source 'http://rubygems.org'

gem 'rails', '3.0.9'
gem 'devise'

gem 'sqlite3', '1.3.3', :group => :development

看起来devies 1.4.6不再在Rubygems.com: http://rubygems.org/gems/devise/versions

Looks like devise 1.4.6 is no longer at Rubygems.com: http://rubygems.org/gems/devise/versions

我尝试使用devise 1.4.5,但它也没有工作。

I tried using devise 1.4.5, but it didn't work either.

推荐答案

您需要更新锁定的版本的 Gemfile.lock

You need to update the locked version of Devise in your Gemfile.lock.

$ bundle update devise

然后提交,推送并部署到Heroku。

Then commit, push and deploy to Heroku.

这篇关于Heroku Deploy无法找到devise-1.4.6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆