There is enough documentation when it comes to installing JRuby and Glassfish. What was lacking was a simple capistrano recipe to get you started, let’s get cracking.

1
2
3
4
5
6
7
namespace :app do
desc "Warble and Deploy"
task :warble_and_deploy , :roles => [:app] do
run "cd #{release_path}/ && warble"
run "/bin/asadmin [...]