新手问题 Rails3.2.3 中如何将合并 css 和 js 成一个文件?

kenneth · May 29, 2012 · Last by kenneth replied at May 29, 2012 · 2537 hits

以前可以用<%= javascript_include_tag :all ,:cache=>true %>合并的,现在新版本怎么不行?

http://guides.rubyonrails.org/asset_pipeline.html

改了运作方法,现在静态文件有个编译阶段

是不是执行下 bundle exec rake assets:precompile 就可以? 还是要修改很多配置?能不能简单说下要处理的地方。

You need to Sign in before reply, if you don't have an account, please Sign up first.