Hi all, I'm just deploying a few rails apps after upgrading to rails 3.1. I have implemented the asset pipeline and everything works ok.
I'm deploying using Capistrano with the pre fabricated deploy/assets recipe. The problem I encounter is that the rake task takes like forever to precompile all my assets. I have to admit that there are a lot of assets that need to be precompiled +300 (images / js / css ) , becouse they include things like jquery ui, tiny mce, etc . I didn't think this might cause a problem, because when I run the assets:precompile rake task on my dev machine, all assets get precompiles within a few seconds, while doing this during deployment, it take almost more then 10minutes and the server load get really high! I haven't done any custom changes in the way I implemented the asset pipeline whatsoever. Hoping that someone can clarify if there are differences between precompiling in dev <-> prod, because I definitely need to optimize this. Thank you in advance -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

