I hope someone can help with a capistrano problem.
I have been using Capistrano to deploy a rails 3.2 app for a little
while with no problems. Having upgraded the app to rails 4.2.5,
however, I have a problem when I try to deploy it using
cap production deploy
All runs well until it tries to run a command:
cd /site/releases/20151119150821 && /usr/bin/env cp
The problem is that there appears to be a newline after .json so the result is:
DEBUG [c1a8b7a9] cp:
DEBUG [c1a8b7a9] missing destination file operand after
DEBUG [c1a8b7a9] Try 'cp --help' for more information.
DEBUG [c1a8b7a9] bash: line 1:
I have not enough experience with capistrano to have any idea where to
even start looking for the problem so any help will be much
Google has been of little help to me in this.
rails 4.2.5, capistrano 3.4.0