users@glassfish.java.net

Re: Glassfish + Jruby

From: Vivek Pandey <Vivek.Pandey_at_Sun.COM>
Date: Thu, 22 Oct 2009 12:01:48 -0700

[cc Anissa]


John Clingan wrote:
> Vivek, I have a fairly clean install of build 69. I do have a "JRuby
> Container" configuration tree node for defining the JRuby pool size,
> but I haven't installed any JRuby modules from the update center.
> Since I haven't installed JRuby, what is the purpose of that tree node?
>
So that you can configure JRuby Container say where it can find JRuby
installation.

For a Ruby developer who wants to deploy on glassfish there are 2 ways
JRuby can be available,

1. thru update center or
2. your own jruby installation.

Ideally, for 1, admin ui should prefill JRuby Home text box, this is
because we known if jruby is installed using update center and how/where
to find the interpreter libraries. In case of 2, you would need to enter
where the JRuby install is located.

-vivek.


> On Oct 21, 2009, at 4:10 PM, Vivek Pandey wrote:
>
>> Aaron Axelsen wrote:
>>> I have installed glassfish, activated both the jruby and jruby-gems
>>> components.
>> You mean you installed jruby and jruby-gems from glassfish update
>> center? If so, then you are all set. Simply deploy your ruby
>> application using 'asadmin deploy command'.
>>
>>> Are there any additional steps to enable jruby support? Do
>>> I also need to install jruby somewhere on the system? (Sorry if this is
>>> a given, but i'm having a hard time finding any explained
>>> information on
>>> this via google).
>>
>> As I mentioned above, if you have installed jruby/jruby-gem via
>> glassfish updatecenter then no further jruby related configuration
>> needed.
>>> The ruby container option in the admin area leads me
>>> to think there is something more to install.
>>>
>>>
>> The configure-jruby-container man page was added recently. Can you
>> try' asadmin configure-jruby-container --help' command on the latest
>> nightly and it should explain which options are required.
>>
>> -vivek.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>