我差点在HEROKU上运行我的第一个ROR应用程序,但我遇到了css的问题。这是预编译的错误......
日志:
2011-10-31T19:23:15 + 00:00 app [web.1]:2011-10-31T19:23:15 + 00:00 app [web.1]:2011-10-31T19:23:15 + 00:00 app [web.1]:开始获取“/” 77.236.11.34 at 2011-10-31 12:23:15 -0700 2011-10-31T19:23:15 + 00:00 app [web.1]:由StoreController处理#index为HTML 2011-10-31T19:23:15 + 00:00 app [web.1]:呈现store / index.html.erb 在布局/应用中(0.1ms)2011-10-31T19:23:15 + 00:00 app [web.1]:在6ms内完成500内部服务器错误 2011-10-31T19:23:15 + 00:00 app [web.1]:2011-10-31T19:23:15 + 00:00 app [web.1]:ActionView :: Template :: Error(scaffold.css不是 预编译):2011-10-31T19:23:15 + 00:00 app [web.1]:2: 2011-10-31T19:23:15 + 00:00 app [web.1]:3: 2011-10-31T19:23:15 + 00:00 app [web.1]:4:Animal Store 2011-10-31T19:23:15 + 00:00 app [web.1]:5:<%= stylesheet_link_tag “脚手架”%> 2011-10-31T19:23:15 + 00:00 app [web.1]:6:<%= stylesheet_link_tag“depot”,:media => “所有”%> 2011-10-31T19:23:15 + 00:00 app [web.1]:7:<%= javascript_include_tag :默认值%> 2011-10-31T19:23:15 + 00:00 app [web.1]:8:<%= csrf_meta_tag%> 2011-10-31T19:23:15 + 00:00 app [web.1]: 应用程序/视图/布局/ application.html.erb:5:在 `_app_views_layouts_application_html_erb___1702959470674454677_27491740' 2011-10-31T19:23:15 + 00:00 app [web.1]:2011-10-31T19:23:15 + 00:00 app [web.1]:2011-10-31T19:23:15 + 00:00 app [web.1]:cache:[GET /] miss 2011-10-31T19:23:15 + 00:00 heroku [路由器]:GET eerie-meadow-9207.heroku.com/ dyno = web.1 queue = 0 wait = 0ms service = 16ms status = 500 bytes = 728 2011-10-31T19:23:15 + 00:00 heroku [nginx]: 77.236.11.34 - - [31 / Oct / 2011:12:23:15 -0700]“GET / HTTP / 1.1”500 728“ - ”“Mozilla / 5.0(X11; U; Linux i686; pl-PL; rv: 1.9.2.23) Gecko / 20110921 Ubuntu / 10.04(lucid)Firefox / 3.6.23“ eerie-meadow-9207.heroku.com
任何想法?
答案 0 :(得分:2)
你需要使用Cedar堆栈而不是Bamboo - 从我看到的片段
eerie-meadow-9207.heroku.com
如果您使用Rails 3.1开箱即用的Cedar堆栈,它应该是.herokuapp.com。