DZone: Your Personal Tech Universe Ruby Zone
Published on Ruby Zone (http://ruby.dzone.com)
JRuby 1.1.1, Rails 2.0.2, Warbler now in GlassFish v2 Update Center
By arungupta
Created 2008/05/03 - 12:30pm


Vivek updated [1] JRuby module in GlassFish [2] v2 UR2 Update Center [3]. It now contains JRuby 1.1.1 + Rails 2.0.2 and Warbler (instead of Goldspike) for packaging the app.

Read all details on how to download, install and getting started here [4]. The image below shows a snapshot of Update Center with the latest module selected:


After following all the steps [5] (had to manually set executable perms on jruby-1.1.1/bin/jruby), your application is now hosted at "http://localhost:8080/HelloWorldRailsApp/say/hello" and shows the following output:



The generated "HelloWorldRailsApp.war" is approx 8.5 Mb and could quickly grow depending upon the gems installed and other factors. As an alternative, you can consider shared deployment as explained in each sample's GLASSFISH_README.txt.

Send us feedback at Forums [6] or webtier@glassfish [7].

Reference: 
http://blogs.sun.com/arungupta/entry/jruby_1_1_1_rails [8]

Source URL: http://ruby.dzone.com/news/jruby-111-rails-202-warbler-no

Links:
[1] http://weblogs.java.net/blog/vivekp/archive/2008/05/jruby_module_30.html
[2] http://glassfish.java.net
[3] http://updatecenter.dev.java.net
[4] http://weblogs.java.net/blog/vivekp/archive/2008/05/jruby_module_30.html
[5] http://weblogs.java.net/blog/vivekp/archive/2008/05/jruby_module_30.html
[6] http://forums.java.net/jive/forum.jspa?forumID=138
[7] http://ruby.dzone.com/webtier%40glassfish.dev.java.net
[8] http://blogs.sun.com/arungupta/entry/jruby_1_1_1_rails