I\'m using Capistrano run a remote task. My task looks like this:
task :my_task do run \"my_command\" end
My problem is that if my_comm
my_comm
For Capistrano 3, you can (as suggested here) use the following:
execute "some_command.sh", raise_on_non_zero_exit: false