问题
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