Capistrano slow assets:precompile
Once your assets start to grow it can be cumbersome to wait for the rake task assets:precompile.
Make sure you've added tmp/cache
to the linked_dirs
(shared_children for cap 2.x) so the sprockets cache is shared between deploys.
set :linked_dirs, %w(tmp/cache)
This can save you A LOT of time.
Written by Youri van der Lans
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#