Using asset-pipeline in Rails 3.0

社会主义新天地 提交于 2019-12-25 08:23:41

问题


How do I go about configuring my application to use the asset pipeline in Rails 3.0? Pointers to any blogs/tutorials would be much appreciated.


回答1:


The asset pipeline is effectively sprockets, so for Rails 3.0:

https://gist.github.com/980056




回答2:


Take a look at https://github.com/jamesmacaulay/sprockets_rails3_backport - exactly what you need.



来源:https://stackoverflow.com/questions/8986312/using-asset-pipeline-in-rails-3-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!