Pré-compilar ativos localmente Rails
# lib/capistrano/tasks/assets.rakeRake::Task[‘deploy:assets:precompile’].clearnamespace :deploy do namespace :assets do desc ‘Precompile assets locally and then rsync to remote servers’ task :precompile do %x{bundle exec rake assets:precompile assets:clean} local_manifest_path = %x{ls -a public/assets/.*manifest*}.strip …
Continuar lendo