Sun GlassFish Enterprise Server v3 Scripting Framework Guide

ProcedureTo Install the GlassFish v3 Gem

To install the GlassFish v3 Gem on your JRuby standalone instance, use the following procedure:

  1. Download and install JRuby according to the instructions in To Install JRuby as Standalone.

  2. Install Rails Gem according to the instructions in To Install Rails Gem on JRuby

  3. Run the Gem installer to install the GlassFish v3 Gem:

    jruby -S gem install glassfish

  4. Start your server with the following command:

    jruby -S glassfish