Skip to main content

TOTD #55: How to build GlassFish v3 Gem ?

Posted by arungupta on November 21, 2008 at 6:01 AM PST



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


style="text-align: left; background-color: rgb(204, 204, 255); width: 100%;"
cellpadding="2" cellspacing="2">
gem install glassfish



for any JRuby
runtime. Support for other Rack-based frameworks such as href="http://sinatra.rubyforge.org/">Sinatra is
coming soon!



This Tip style="font-weight: bold;">Of style="font-weight: bold;">The style="font-weight: bold;">Day (TOTD) explains
how to build this gem if you like to understand the internals or hack
it
out:


style="text-align: left; background-color: rgb(204, 204, 255); width: 100%;"
cellpadding="2" cellspacing="2">
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!



href="http://blogs.sun.com/arungupta/entry/getting_started_with_merb_using">TOTD
#52 explains how gem can be used to run Rails or Merb
applications.



Are you using GlassFish gem ? File bugs @ href="http://rubyforge.org/tracker/?func=add&group_id=5450&atid=21080">RubyForge
and send feedback to href="http://forums.java.net/jive/forum.jspa?forumID=138">GlassFish
Webtier Forum.



Please leave suggestions on other TOTD ( style="font-weight: bold;">Tip style="font-weight: bold;">Of style="font-weight: bold;">The style="font-weight: bold;">Day) that
you'd like to see.
An archive of all the tips is available href="http://blogs.sun.com/arungupta/tags/totd">here.




Technorati:   href="http://technorati.com/tag/totd">totd href="http://technorati.com/tag/glassfish">glassfish
v3 href="http://technorati.com/tag/gem">gem href="http://technorati.com/tag/rubyonrails">rubyonrails
jruby

Related Topics >>

Comments

haarts, Please register at https://www.dev.java.net/servlets/Join, create a file .java.net userName=YOUR_LOGIN password=YOUR_PASSWORD #proxyServer=proxy.acme.com #proxyPort=8080 in your home directory. That should do.

I can't get to the gem as the server requests a password, anyway around that?