DZone: Your Personal Tech Universe Ruby Zone
Published on Ruby Zone (http://ruby.dzone.com)
GlassFish v3 gem 0.1.2 released
By arungupta
Created 2008/03/13 - 10:26pm

Pramod [1] announced the release of GlassFish v3 Gem [2] ver 0.1.2 [3]. The focus of this release is bugfixes:
  • IssueTracker #4228 [4]: Duplicate entries for Scaffold generated by Rails 2.0.2
  • IssueTracker #3966 [5]: Blank page returned if no Rails instance is available
  • RubyForge #17970 [6]: All requests are Ajax requests
  • RubyForge #18162 [7]: observe_field for Ajax capablites work only once
After #4228 fix, you can easily follow TOTD#28 [8] to create a scaffold using Rails 2.0 and deploy it on GlassFish gem instead of WEBrick - works on JRuby 1.1 RC2 [9].

You can verify if have 0.1.1 version [10] by giving the command:
Macintosh-187:jruby-1.1RC2 arungupta$ bin/jruby -S gem list -d glassfish

*** LOCAL GEMS ***

glassfish (0.1.1)
    GlassFish V3 Application Server for JRuby
You can update to the most recent version by giving the command:

Macintosh-187:jruby-1.1RC2 arungupta$ bin/jruby -S gem update glassfish
JRuby limited openssl loaded. gem install jruby-openssl for full support.
http://wiki.jruby.org/wiki/JRuby_Builtin_OpenSSL
Updating installed gems...
Updating metadata for 634 gems from http://gems.rubyforge.org
.............................................................................................................................
.............................................................................................................................
.............................................................................................................................
.............................................................................................................................
.............................................................................................................................
.........
complete
Attempting remote update of glassfish
Successfully installed glassfish-0.1.2-universal-java
1 gem installed
Gems updated: glassfish

And then again verify using the following command:
Macintosh-187:jruby-1.1RC2 arungupta$ bin/jruby -S gem list -d glassfish

*** LOCAL GEMS ***

glassfish (0.1.2, 0.1.1)
    GlassFish V3 Application Server for JRuby

If you installed version 0.1.0 [11] then you need to uninstall it and install the new version using the following commands:
bin/jruby -S gem uninstall GlassFish
bin/jruby -S gem install glassfish

All the latest information about the gem can be found at GlassFish JRuby wiki [12] or JRuby wiki [13].

Please use the gem and send us feedback on GlassFish forums [14], dev@glassfish [15] or gem mailing list [16].

File issues in JIRA [17] or RubyForge [18] or GlassFish Issue Tracker [19].
Reference: 
http://blogs.sun.com/arungupta/entry/glassfish_v3_gem_0_11 [20]

Source URL: http://ruby.dzone.com/news/glassfish-v3-gem-012-released

Links:
[1] http://blogs.sun.com/pramodg/
[2] http://rubyforge.org/projects/glassfishgem/
[3] http://blogs.sun.com/pramodg/entry/glassfish_v3_gem_v0_12
[4] https://glassfish.dev.java.net/issues/show_bug.cgi?id=4228
[5] https://glassfish.dev.java.net/issues/show_bug.cgi?id=3966
[6] http://rubyforge.org/tracker/index.php?func=detail&aid=17970&group_id=5450&atid=21080
[7] http://rubyforge.org/tracker/index.php?func=detail&aid=18162&group_id=5450&atid=21080
[8] http://blogs.sun.com/arungupta/entry/totd_28_getting_started_with
[9] http://dist.codehaus.org/jruby/jruby-bin-1.1RC2.zip
[10] http://blogs.sun.com/arungupta/entry/glassfish_v3_gem_0_1
[11] http://blogs.sun.com/arungupta/entry/glassfish_v3_ruby_gem_new
[12] http://wiki.glassfish.java.net/Wiki.jsp?page=JRuby
[13] http://wiki.jruby.org/wiki/JRuby_on_Rails_in_GlassFish
[14] http://forums.java.net/jive/forum.jspa?forumID=56
[15] mailto:dev@glassfish.dev.java.net
[16] http://rubyforge.org/mail/?group_id=5450
[17] http://rubyforge.org/tracker/?func=add&group_id=5450&atid=21080
[18] http://rubyforge.org/tracker/?atid=21080&group_id=5450&func=browse
[19] https://glassfish.dev.java.net/issues/enter_bug.cgi?issue_type=DEFECT
[20] http://blogs.sun.com/arungupta/entry/glassfish_v3_gem_0_11