It is possible to have a one liner condition for exit with message?
if condition
info "some message"
exit
end
It is possible to have a one liner condition for exit with message?
if condition
info "some message"
exit
end
To exit from Capistrano in a 1 line and including the message you can do something like this
(info("Your message here ... ") && exit) if condition
I hope that this will help