Please, I have the same problem: Deploy error ruby on rails Don't know how to build task 'assets:precompile'?
If it's possible, helpme and help this guy too.
Thanks in advance for your attention
Update:
With @Anuj help, I find the solution: Precisely because my project is API by default, I don't have the precompile assets (@Anuj said the same, I didn't know). The solution to me is:
-> remove inside my Capfile: require 'capistrano/rails/assets'
-> remove inside my deploy.rb after :finishing, :compile_assets