Compile Assets With Capistrano

Hi there!

I have a project with lots of compiled assets: sprites, stylesheets and javascripts. This causes big pain in our deployment process due to overall instability in nodejs world. I actually cannot figure out why my asset-builder just fails without any reason on production server.

By the way, compiling assets on server-side is quite a bad idea just because developer has less control on production server than on his own machine. That’s why I think it’s better to compile the assets on developer side.