Jerome posted the instructions to build GlassFish v3 Gem for JRuby – very simple and easy. A binary version of Gem is available here. Software pre-requisite Subversion client (for example Tigris) Maven 2.0.x JRuby 1.0.x (I used JRuby 1.0.2 and lets say installed in JRUBY_HOME). Make sure JRUBY_HOME/bin is in your path. Build the Gem As explained in Jerome’s entry, you can check out complete GlassFish v3 workspace or just the Gem code. Here is how you’ll check out only the Gem code on a Windows machine using Tigris Subversion client: And after the check out is complete, you’ll see: Build the gem by giving the command: mvn install And success is achieved by seeing the following in the console:[INFO] (in C:/workspaces/glassfish/gem/target/dependency/glassfish)<br> [WARNING] mkdir -p pkg<br> [INFO] Successfully built RubyGem<br> [INFO] Name: GlassFish<br> [WARNING] mv GlassFish-10.0.0-java.gem pkg/GlassFish-10.0.0-java.gem<br> [INFO] Version: 10.0.0<br> [INFO] File: GlassFish-10.0.0-java.gem<br> [INFO] [install:install]<br> [INFO] Installing C:workspacesglassfishgemtargetgem-10.0-SNAPSHOT.jar to C:UsersArun Gupta.m2repositoryorgglassfishdistributionsgem10.0-SNAPSHOTgem-10.0-SNAPSHOT.jar<br> [INFO] [install:install-file {execution: install-gem}]<br> [INFO] Installing C:workspacesglassfishgemtargetdependencyglassfishpkgGlassFish-10.0.0-java.gem to C:UsersArun Gupta.m2repositoryorgglassfishdistributionsGlassFish-Gem10.0-SNAPSHOTGlassFish-Gem-10.0-SNAPSHOT.gem<br> [INFO] ------------------------------------------------------------------------<br> [INFO] BUILD SUCCESSFUL<br> [INFO] ------------------------------------------------------------------------<br> [INFO] Total time: 2 minutes 2 seconds<br> [INFO] Finished at: Fri Nov 16 17:56:12 PST 2007<br> [INFO] Final Memory: 11M/20M<br> [INFO] ------------------------------------------------------------------------<br> <br> The Gem is available in targetdependencyglassfishpkg directory. Install the Gem Change to the directory where the Gem is availablecd targetdependencyglassfishpkg Install the Gem as:C:testbedrubyjruby-1.0.2binjruby -S gem install GlassFish-10.0.0-java.gem<br> Successfully installed GlassFish, version 10.0.0 And use it!Please leave suggestions on other TOTD that you’d like to see. A complete archive is available here. Technorati: totd v3 jruby ruby rubyonrails glassfish gem jrubyonglassfish Technology IndustryRuby