jruby -S gem install jruby-openssl ffi-ncurses capistrano
jruby -S capify .
Add this to the Capfile:
Important is that the servers are in the ssh allowed list. So check if you can reach the servers with ssh and have accepted the ssh key permanently.