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

ProcedureDeploying the war file

  1. Go to the application directory <JRUBY_HOME>/samples/rails-warbler/hello.

  2. Deploy the application war file to the Enterprise Server by running the asadmin command:

    <AS_INSTALL>/bin/asadmin deploy hello.war
  3. Run the hello application by using the following URL in your browser:

    http://<hostname>:<port>/hello