簡體   English   中英

Heroku部署錯誤Ruby在Rails上

[英]heroku deployment error ruby on rails

我在rails 3.2上使用ruby並添加了一個基於jquery的日歷,直到我添加此日歷之前我一直在工作。 我不明白是什么問題。 該錯誤是典型的錯誤:很抱歉,但是出了點問題。

     2013-05-30T16:24:23.120911+00:00 app[web.1]: [2013-05-30 16:24:23] INFO  WEBrick 1.3.1
2013-05-30T16:24:23.121177+00:00 app[web.1]: [2013-05-30 16:24:23] INFO  ruby 1.9.2 (2011-07-09) [x86_64-linux]
2013-05-30T16:24:23.121720+00:00 app[web.1]: [2013-05-30 16:24:23] INFO  WEBrick::HTTPServer#start: pid=2 port=37427
2013-05-30T16:24:23.150350+00:00 heroku[web.1]: State changed from starting to up
2013-05-30T16:24:25.380808+00:00 heroku[web.1]: Stopping remaining processes with SIGKILL
2013-05-30T16:24:25.380614+00:00 heroku[web.1]: Error R12 (Exit timeout) -> At least one process failed to exit within 10 seconds of SIGTERM
2013-05-30T16:24:27.414530+00:00 heroku[web.1]: Process exited with status 137
2013-05-30T16:24:29.609472+00:00 app[web.1]: => Call with -d to detach
2013-05-30T16:24:29.609472+00:00 app[web.1]: => Rails 3.2.12 application starting in production on http://0.0.0.0:37427
2013-05-30T16:24:29.609472+00:00 app[web.1]: Started GET "/" for 146.155.157.11 at 2013-05-30 16:24:29 +0000
2013-05-30T16:24:29.609472+00:00 app[web.1]: => Ctrl-C to shutdown server
2013-05-30T16:24:29.609472+00:00 app[web.1]: => Booting WEBrick
2013-05-30T16:24:30.091675+00:00 heroku[router]: at=info method=GET path=/ host=clinicaua.herokuapp.com fwd="146.155.157.11" dyno=web.1 connect=1ms service=499ms status=500 bytes=643
2013-05-30T16:24:30.081632+00:00 app[web.1]:     27:     <!-- Size should be 114 x 114 pixels -->
2013-05-30T16:24:30.081632+00:00 app[web.1]:   app/views/layouts/application.html.erb:24:in `_app_views_layouts_application_html_erb__3338499994553736987_38308120'
2013-05-30T16:24:30.082010+00:00 app[web.1]: 
2013-05-30T16:24:30.082010+00:00 app[web.1]: 
2013-05-30T16:24:30.082010+00:00 app[web.1]: Processing by HomeController#index as HTML
2013-05-30T16:24:30.082010+00:00 app[web.1]:   Rendered home/index.html.erb within layouts/application (13.3ms)
2013-05-30T16:24:30.081632+00:00 app[web.1]: ActionView::Template::Error (images/apple-touch-icon-144x144-precomposed.png isn't precompiled):
2013-05-30T16:24:30.081632+00:00 app[web.1]:     21: 
2013-05-30T16:24:30.081632+00:00 app[web.1]:     22:     <!-- For third-generation iPad with high-resolution Retina display: -->
2013-05-30T16:24:30.081632+00:00 app[web.1]:     23:     <!-- Size should be 144 x 144 pixels -->
2013-05-30T16:24:30.081632+00:00 app[web.1]:     24:     <%= favicon_link_tag 'images/apple-touch-icon-144x144-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png', :sizes => '144x144' %>
2013-05-30T16:24:30.081632+00:00 app[web.1]: 
2013-05-30T16:24:30.081632+00:00 app[web.1]:     25: 
2013-05-30T16:24:30.081632+00:00 app[web.1]:     26:     <!-- For iPhone with high-resolution Retina display: -->
2013-05-30T16:24:30.082010+00:00 app[web.1]: Completed 500 Internal Server Error in 116ms
2013-05-30T16:24:30.417307+00:00 heroku[router]: at=info method=GET path=/favicon.ico host=clinicaua.herokuapp.com fwd="146.155.157.11" dyno=web.1 connect=2ms service=6ms status=200 bytes=0

您尚未預編譯jquery-ui。

有幾種方法可以做到這一點,這是一種:

# config/environments/production.rb
config.assets.precompile << 'jquery-ui-1.8.11.custom.min.js'

或者您可以使用https://github.com/joliss/jquery-ui-rails

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM