2011-09-29 81 views
0

事情似乎變得很好,然後它終於窒息。注意:Rails3應用程序未能推送到Heroku。 「無法識別的錯誤」

$ git push heroku master 
Counting objects: 12, done. 
Delta compression using up to 2 threads. 
Compressing objects: 100% (7/7), done. 
Writing objects: 100% (7/7), 109.76 KiB, done. 
Total 7 (delta 4), reused 0 (delta 0) 

-----> Heroku receiving push 
-----> Ruby/Rails app detected 
-----> Detected Rails is not set to serve static_assets 
Installing rails3_serve_static_assets... done 
-----> Configure Rails 3 to disable x-sendfile 
Installing rails3_disable_x_sendfile... done 
-----> Configure Rails to log to stdout 
Installing rails_log_stdout... done 
-----> Gemfile detected, running Bundler version 1.0.7 
Unresolved dependencies detected; Installing... 
Using --without development:test 
Installing rake (0.9.2) 
Installing multi_json (1.0.3) 
Installing activesupport (3.1.1.rc1) 
    Installing builder (3.0.0) 
    Installing i18n (0.6.0) 
    Installing activemodel (3.1.1.rc1) 
    Installing erubis (2.7.0) 
    Installing rack (1.3.3) 
    Installing rack-cache (1.0.3) 
    Installing rack-mount (0.8.3) 
    Installing rack-test (0.6.1) 
    Installing hike (1.2.1) 
    Installing tilt (1.3.3) 
    Installing sprockets (2.0.0) 
    Installing actionpack (3.1.1.rc1) 
    Installing mime-types (1.16) 
    Installing polyglot (0.3.2) 
    Installing treetop (1.4.10) 
    Installing mail (2.3.0) 
    Installing actionmailer (3.1.1.rc1) 
    Installing arel (2.2.1) 
    Installing tzinfo (0.3.29) 
    Installing activerecord (3.1.1.rc1) 
    Installing activeresource (3.1.1.rc1) 
    Installing coffee-script-source (1.1.2) 
    Installing execjs (1.2.6) 
    Installing coffee-script (2.2.0) 
    Installing rack-ssl (1.3.2) 
    Installing rdoc (3.9.4) 
    Installing thor (0.14.6) 
    Installing railties (3.1.1.rc1) 
    Installing coffee-rails (3.1.1) 
    Installing jquery-rails (1.0.14) 
    Installing pg (0.11.0) with native extensions 
    Using bundler (1.0.7) 
    Installing rails (3.1.1.rc1) 
    Installing sass (3.1.7) 
    Installing sass-rails (3.1.2) 
    Installing sqlite3 (1.3.4) with native extensions 
    Installing uglifier (1.0.3) 
    Updating .gem files in vendor/cache 
    Removing outdated .gem files from vendor/cache 
    * spork-0.9.0.rc9.gem 
    Your bundle is complete! It was installed into ./.bundle/gems/ 
-----> Compiled slug size is 14.4MB 
-----> Launching... 
!  Heroku push rejected due to an unrecognized error. 
!  We've been notified, see http://support.heroku.com if the problem persists. 


To [email protected]:myproject.git 
! [remote rejected] master -> master (pre-receive hook declined) 
error: failed to push some refs to '[email protected]:myproject.git' 

在此之前,我是能推到Heroku的,但應用程序是無法啓動,因爲我錯過了第寶石。所以現在pg正確地在那裏,推送失敗。關於如何解決這個問題的任何想法?

+0

哎呀,你有沒有看過英雄日誌?你最近添加了一個新的寶石?也許這對寶石來說很奇怪 – CambridgeMike

回答

1

您應該提交支持票。好像他們已經在過去也有類似的問題:

http://status.heroku.com/incident/52

乍一看,這叉勺寶石看起來可疑。你是否將Gemfile中的開發寶石分成一組?

group :development, :test do 
    gem 'spork' 
end 
0

您應該首先檢查https://status.heroku.com/

有一個公開問題(https://status.heroku.com/incident/212),它在54分鐘前打開,涉及到部署問題 - 雖然它似乎只是現在受影響的Cedar應用程序 - 但這不是說這個問題在創建時並不是完整的堆棧。

相關問題