Deploy and Run Rails on GlassFish Gem

Deploying and running your rails applications on GlassFish gem is easiest and fastest way. GlassFish gem is built on top of GlassFish v3 kernel + JRuby container + Ruby and Java code to make it act like a Ruby server. It has smaller size and faster startup time.

Install the latest GlassFish v3 gem.

Install the GlassFish V3 gem by using the command

gem install glassfish

This will install GlassFish gem.

Deploy and run your Rails application

Invoke the following command in your application

glassfish

The application is deployed at *http://localhost:3000/say/hello* and ready to accept requests

Check out the latest GlassFish gem rdoc at: http://glassfishgem.rubyforge.org/