On my production server, which is hosted on digital ocean, if that helps, Ubuntu 12.04, I have RoR 4 and rake 10.1.1.
When I deploy, I run rake assets:precompi
rake assets:precompi
Rake assets:precompile is a memory eating process.
Rake assets:precompile
So make sure you have enough RAM before using that command