dev@glassfish.java.net

Re: GlassFish Gem for Rails [WAS Re: GlassFish gem feature requests/bugs]

From: Changshin Lee <iasandcb_at_gmail.com>
Date: Fri, 14 Sep 2007 22:15:42 +0900

Hi Arun,

First of all, thanks for the nice work. I'd like to give quick
feedback from using it for my project.

I ran "springbook" project with glassfish_rails and

http://localhost:8080/springbook/pages/3

works fine. However, all the generated links to pages_controller are "/
pages/xxx", not "/springbook/pages/xxx". I tried to use

ActionController::AbstractRequest.relative_url_root = '/springbook'

but it didn't work at all. Probably Grizzly JRuby connector may leave
out the context path to Rails.

Cheers,

ias

2007. 09. 14, ¿ÀÈÄ 9:55, Arun Gupta ÀÛ¼º:

> And now live at:
>
> http://blogs.sun.com/arungupta/entry/
> announcing_glassfish_gem_for_rails
>
> -Arun
>
> Arun Gupta wrote:
>> I'll be pushing out a blog announcing the gem tomorrow morning.
>> -Arun
>> Charles Oliver Nutter wrote:
>>> Arun Gupta wrote:
>>>> Making the change suggested below fixed that problem and started
>>>> the container fine :)
>>>
>>> Thanks both of you. It's committed on 1.0 branch and trunk now.
>>>
>>> - Charlie
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>>>
>
> --
> Web Technologies and Standards
> Sun Microsystems, Inc.
> Blog: http://blogs.sun.com/arungupta
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: dev-help_at_glassfish.dev.java.net
>