RoR在任何来源中都找不到fog-aws-0.7.0

时间:2015-07-11 08:22:43

标签: ruby-on-rails ruby git heroku

我遇到了heroku的问题,当我试图推动它时,无法在任何来源中找到fog-aws-0.7.0。

remote:        Could not find fog-aws-0.7.0 in any of the sources
remote:  !
remote:  !     Failed to install gems via Bundler.
remote:  !
remote: 
remote:  !     Push rejected, failed to compile Ruby app
remote: 
remote: Verifying deploy....
remote: 
remote: !   Push rejected to sample-app-kong.
remote: 
To https://git.heroku.com/sample-app-kong.git
 ! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/sample-app-kong.git'

enter image description here

2 个答案:

答案 0 :(得分:1)

fog-aws gem版本0.7.0已从Rubygems服务器中删除。

如果您在项目文件夹中运行bundle update fog-aws,捆绑包将尝试加载最新版本的gem,然后您就可以推送到Heroku

答案 1 :(得分:0)

现在我修复它运行 git push -f heroku