2013-05-30 54 views
0

我在軌道3.2上使用紅寶石,並添加了基於jQuery的日曆,我一直工作,直到我添加了此日曆。我不明白這個問題是什麼。錯誤是典型的:我們很抱歉,但出錯了。heroku在軌道上部署錯誤紅寶石

 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 

回答

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