Getting Started With JRuby on Rails for Sun GlassFish Enterprise Server v3 Prelude

ProcedureInstalling the GlassFish v3 Gem

One of the ways to deploy a Rails application is to deploy it to the Sun GlassFish instance running inside the JRuby virtual machine. To do this, you have to install the GlassFish v3 Gem on top of your JRuby installation:

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

    jruby -S gem install glassfish

    You should see the following output:

    JRuby limited openssl loaded. gem install jruby-openssl for full support.
    http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
    Successfully installed glassfish-0.3.1-universal-java
    1 gem installedSuccessfully installed glassfish-0.1.2-universal-java
    1 gem installed