TOTD #55: How to build GlassFish v3 Gem ?
Posted by arungupta on November 21, 2008 at 9:01 AM EST
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
Related Topics >>
Blog Links >>
- Login or register to post comments
- Printer-friendly version
- arungupta's blog
- 656 reads






Comments
by arungupta - 2008-12-03 12:05
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.by haarts - 2008-12-03 05:07
I can't get to the gem as the server requests a password, anyway around that?