Arun Gupta, Miles to go ...

Arun Gupta is a technology enthusiast, a passionate runner, and a community guy who works for Sun Microsystems.
« TOTD #54: Java Serve... | Main | LOTD #14: New Whitep... »

http://blogs.sun.com/arungupta/date/20081121 Friday November 21, 2008

TOTD #55: How to build GlassFish v3 Gem ?


GlassFish Gem is a light-weight and robust deployment solution for Ruby-on-Rails and Merb applications. The gem can be easily installed as:

gem install glassfish

for any JRuby runtime. Support for other Rack-based frameworks such as Sinatra is coming soon!

This Tip Of The Day (TOTD) explains how to build this gem if you like to understand the internals or hack it out:

svn co https://svn.dev.java.net/svn/glassfish-scripting/trunk/rails/v3/gem gem
cd gem
mvn -U clean install

And the generated gem is available at:

./target/dependency/glassfish/pkg/glassfish-0.9.0-universal-java.gem

Simple and easy!

TOTD #52 explains how gem can be used to run Rails or Merb applications.

Are you using GlassFish gem ? File bugs @ RubyForge and send feedback to GlassFish Webtier Forum.

Please leave suggestions on other TOTD (Tip Of The Day) that you'd like to see. An archive of all the tips is available here.

Technorati:  totd glassfish v3 gem rubyonrails jruby

del.icio.us | furl | simpy | slashdot | technorati | digg |
|
Comments:

hello! Thanks for the link to svn but looks like doesnt support anonymous connection :(

Posted by pietia on November 22, 2008 at 03:57 AM PST #

thx you..

Posted by sinema izle on March 07, 2009 at 03:27 PM PST #

Post a Comment:
  • HTML Syntax: NOT allowed
« TOTD #54: Java Serve... | Main | LOTD #14: New Whitep... »

Valid HTML! Valid CSS!

This is a personal weblog, I do not speak for my employer.