0
我的应用程序在几天前工作。 我从使用WEBrick切换到“薄”搜索javascript时发生路由错误
现在我得到
2011-12-28T07:08:53+00:00 app[web.1]: ActionController::RoutingError (No route matches [GET] "/assets/jquery.livequery-6725741b06c676d9173d5056b277caeb.js"):
我看到的其他问题,他们被告知将它设置为true
config.serve_static_assets = false
但是Heroku的建议针对。
我已经尝试使用rake资产:本地预编译然后推送,也没有它,让我们预先编译。 两者都给出相同的错误
- 如何确保javascripts被提供,编译和可用?
- 错误发生的原因是什么?
我在雪松,最新薄使用rails 3.1.3。
http://stackoverflow.com/questions/6435080/actioncontrollerroutingerror-no-route-matches-javascripts-rails- JS – 2011-12-28 08:03:43