Oracle GlassFish Server 3.0.1 Scripting Framework Guide

Configuring JRuby Deployment Options

You can change deployment-specific options for the JRuby application using the following command syntax:

asadmin deploy --property property=value[:property=value]

For example, the following command deploys an application using a JRuby instance that is different from the one configured for the GlassFish Server instance:

asadmin deploy --property jruby-home=latest-jruby-install application

See the Appendix A, The asadmin Deployment Subcommands, in Oracle GlassFish Server 3.0.1 Application Deployment Guide for detailed instructions on using the extensive list of asadmin deploy options to deploy applications, including JRuby, on GlassFish Server.