【发布时间】:2013-03-11 22:20:43
【问题描述】:
我在我的 Rails 应用中添加了“audiojs”音乐播放器 (http://kolber.github.com/audiojs/)
在本地主机上一切正常,但 heroku 说:
"We're sorry, but something went wrong."
日志
ActionView::Template::Error (audiojs/audio.min.js isn't precompiled)
如何解决问题?
【问题讨论】:
-
可能是您的资产未能正确预编译。查看您的日志和此帮助文档:devcenter.heroku.com/articles/rails3x-asset-pipeline-cedar
-
新错误 ActionController::RoutingError (没有路由匹配 [GET] "/undefinedplayer-graphics.gif"):
-
最后的日志old.pastie.org/6459850请帮帮我!
-
看起来你有一个返回未定义的 javascript 变量。您如何为资产路径添加前缀?
-
@Gavin Miller 我在 github 上列出了所有资源。此版本在 localhost 上运行良好。请帮我识别并解决问题! github.com/BDAinc/chernobylmusic.net
标签: ruby-on-rails heroku audiojs