Deploying process is too slow using Capistrano, hang in precompile

Viewed 704

Env: Ruby 2.6.3 / Rails 6.0 / Capistrano 3.14.1

Problem: cap production deploy is very slow, almost 10 minutes. The log shows $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile takes about 8 minutes. I use the same comand and run it locally, it's very quick. So what is the problem and how to reslove it.

enter image description here

1 Answers
Related