问题描述
我的部署在每次部署时都停留在从rubygems中获取宝石元数据的情况。
今天上午工作,今天下午有问题,现在不能再工作。
我们尝试
My deployment is stuck on fetching gem metadata from rubygems every time I deploy.
It worked this morning, had problems this afternoon and now it's not working again.
We tried from somewhere else and from other computers with the same result.
在本地工作正常我可以从rubygems更新没有问题。
It works fine locally I can update from rubygems without a problem.
Visual:
Delta compression using up to 4 threads.
Compressing objects: 100% (9/9), done.
Writing objects: 100% (9/9), 764 bytes, done.
Total 9 (delta 7), reused 0 (delta 0)
-----> Heroku receiving push
-----> Ruby/Rails app detected
-----> Using Ruby version: ruby-1.9.3
-----> Installing dependencies using Bundler version 1.2.1
Running: bundle install --without development:test --path vendor/bundle --binstubs bin/
Updating https://github.com/epetre/negative-captcha.git
Fetching gem metadata from http://rubygems.org/.......
Fetching gem metadata from http://rubygems.org/..
[IT HANGS HERE FOREVER]
任何人都有线索?
推荐答案
好的,固定好,我想。
显示它只有在明确指定了最后版本的heroku和bundler时才有效。
奇怪的是,它可以在本地捆绑而不是显式版本,而不是部署到heroku。
Ok, fixed for good I think.Turns out it only works when explicitly specifying the last versions of heroku and bundler.The strange thing is that it can bundle without the explicit versions locally but not when deploying to heroku.
gem 'heroku', '2.33.0'
gem 'bundler', '1.2.1'
这篇关于Heroku推着挂在“从红宝石获取宝石元数据”没有任何错误或痕迹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!