Oracle GlassFish Server 3.0.1 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 and Rails according to the instructions in To Install JRuby in Standalone Mode.

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


    jruby -S gem install glassfish
    
  3. Start your server with the following command:


    jruby -S glassfish