我已經將這兩行application.rb中:的Rails 3.2.1 Heroku的資產預編譯錯誤
config.assets.initialize_on_precompile = false
config.assets.compile = true
不過,我仍然得到錯誤,當我推到Heroku上:
2012-02-05T09:48:34+00:00 app[web.1]: Completed 500 Internal Server Error in 3ms
2012-02-05T09:48:34+00:00 app[web.1]:
2012-02-05T09:48:34+00:00 app[web.1]: ActionView::Template::Error (bootstrap.css isn't precompiled):
有什麼建議?
當它試圖預編譯你的資產時,heroku會說些什麼(你是在杉樹上嗎?) – 2012-02-05 10:19:37