dev@glassfish.java.net

Re: GlassFish gem feature requests/bugs

From: Charles Oliver Nutter <charles.nutter_at_sun.com>
Date: Wed, 12 Sep 2007 19:17:37 -0500

Arun Gupta wrote:
>>> with both JRuby 1.0 and 1.0.1.
>>>
>> I did not get that. I think you need to somehow run gem install in the
>> directory where you put the gem. so in your case, in temp
>>
>> can you try that ?
> Cool, that worked!
>
> I can now install the plugin and see the message:
>
> Building native extensions. This could take a while...
> Successfully installed GlassFish, version 10.0.0
>
> Then I created a rails application and tried starting the server as:
>
> C:\workarea\samples\rails\hello>\testbed\jruby-1.0\bin\jruby -S
> script\server start

The parameter passed to script/server is the name of the server to
start, i.e. "webrick" or "mongrel". I don't believe the GF gem is wired
into that logic yet.

To start up an app with the glassfish gem, run "glassfish_rails <app dir>"

- Charlie