2013-08-22 147 views
0

試圖部署Rails 4,Ruby 2,MySQL應用程序到Heroku與ClearDB插件來處理MySQL,但試圖加載主頁在服務器日誌中的結果。任何想法是什麼意思?Emberjs/Rails應用程序不加載Heroku

at=info method=GET path=/ host=whispering-lake-7719.herokuapp.com fwd="76.24.27.108" dyno=web.1 connect=1ms service=75ms status=304 bytes=0 
Started GET "/assets/application-780385875af2448947950232fb279cb6.js" for 76.24.27.108 at 2013-08-22 04:39:41 +0000 
Processing by HomeController#index as JS 
    Parameters: {"ember"=>8947950232fb279cb6"} 
    Rendered home/index.html.erb (0.0ms) 
Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms) 
Started GET "/" for 76.24.27.108 at 2013-08-22 04:41:17 +0000 
Processing by HomeController#index as HTML 
    Rendered home/index.html.erb within layouts/application (0.0ms) 
Completed 200 OK in 22ms (Views: 1.0ms | ActiveRecord: 0.0ms) 
Started GET "/assets/application-58c7c0e35a67f189e19b8c485930e614.css" for 76.24.27.108 at 2013-08-22 04:41:17 +0000 
Processing by HomeController#index as CSS 
    Parameters: {"ember"=>"assets/application-58c7c0e35a67f189e19b8c485930e614"} 
method=GET path=/assets/application-58c7c0e35a67f189e19b8c485930e614.css host=whispering-lake-7719.herokuapp.com fwd="76.24.27.108" dyno=web.1 connect=1ms service=70ms status=500 bytes=1266 
Completed 500 Internal Server Error in 6ms 

ActionView::MissingTemplate (Missing template home/index, application/index with {:locale=>[:en], :formats=>[:css], :handlers=>[:erb, :builder, :raw, :ruby, :jbuilder, :coffee]}. Searched in: 
* "/app/app/views" 
* "/app/vendor/bundle/ruby/2.0.0/gems/twitter-bootstrap-rails-2.2.7/app/views" 
* "/app/vendor/bundle/ruby/2.0.0/gems/devise-3.0.0/app/views" 
): 

回答

0

將rails_12factor gem添加到生產組下的gemfile中修復了此問題。