I’ve been playing around with JRuby a lot recently, and I decided to see just how hard it would be to develop and deploy a simple web application using JRuby in Ubuntu 8.10. For both development and deployment I’ll be using GlassFish v3 Prelude. For development, I’ve been using the glassfish gem and for deployment, I’ve been using the GlassFish Community Distribtion. I’ll try to run through my development steps today. Tomorrow I’ll post the steps to deploy to a dedicated glassfish server.

Development

I’ll go through the development steps I’ve been using first.

1.  Install JRuby.  I’ve been installing JRuby to a development directory and simply adding to my $PATH. The following script installs everything to ~/Development/jruby/ and uses sun-java6-jdk.

2. Install GlassFish gem:

Tomorrow I’ll go over installing a glassfish deployment environment on Ubuntu 8.10.