Quantcast

Does awestruct support JRuby? site.org variable not propagated.

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Does awestruct support JRuby? site.org variable not propagated.

mgfeller
Hi,

Does Awestruct support JRuby?

I created a site with Awestruct (and AsciiDoctor) and noticed that the
variable site.org (from _config/site.yml) is not propagated to the
template, the value is always Java::Org.

Anything I missed?

It works with Ruby.

Thanks,

Michael

---------------------------------------------------------------------
Archives: http://talk-archive.awestruct.org/
To unsubscribe, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Does awestruct support JRuby? site.org variable not propagated.

mojavelinux
Does the word "organization" work? JRuby has this funny top-level variable namespace where "com" and "org" point to a Package object. You might be hitting that.

-Dan

On Sat, Jul 18, 2015 at 4:10 AM, Michael Gfeller <[hidden email]> wrote:
Hi,

Does Awestruct support JRuby?

I created a site with Awestruct (and AsciiDoctor) and noticed that the variable site.org (from _config/site.yml) is not propagated to the template, the value is always Java::Org.

Anything I missed?

It works with Ruby.

Thanks,

Michael

---------------------------------------------------------------------
Archives: http://talk-archive.awestruct.org/
To unsubscribe, e-mail: [hidden email]




--
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Does awestruct support JRuby? site.org variable not propagated.

LightGuard
Administrator
In reply to this post by mgfeller
Sounds like a bug, it should work. Could you create an issue in github please?

On Saturday, July 18, 2015, Michael Gfeller <[hidden email]> wrote:
Hi,

Does Awestruct support JRuby?

I created a site with Awestruct (and AsciiDoctor) and noticed that the variable site.org (from _config/site.yml) is not propagated to the template, the value is always Java::Org.

Anything I missed?

It works with Ruby.

Thanks,

Michael

---------------------------------------------------------------------
Archives: http://talk-archive.awestruct.org/
To unsubscribe, e-mail: [hidden email]



--
Sent from Gmail Mobile
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Does awestruct support JRuby? site.org variable not propagated.

mgfeller
Thanks. I have created an issue (#480).
This happens, similarly, for the variable named 'com'.

On 18.07.2015 15:01, Jason Porter wrote:

> Sounds like a bug, it should work. Could you create an issue in github
> please?
>
> On Saturday, July 18, 2015, Michael Gfeller <[hidden email]
> <mailto:[hidden email]>> wrote:
>
>     Hi,
>
>     Does Awestruct support JRuby?
>
>     I created a site with Awestruct (and AsciiDoctor) and noticed that
>     the variable site.org <http://site.org> (from _config/site.yml) is
>     not propagated to the template, the value is always Java::Org.
>
>     Anything I missed?
>
>     It works with Ruby.
>
>     Thanks,
>
>     Michael
>
>     ---------------------------------------------------------------------
>     Archives: http://talk-archive.awestruct.org/
>     To unsubscribe, e-mail: [hidden email]
>
>
>
> --
> Sent from Gmail Mobile

---------------------------------------------------------------------
Archives: http://talk-archive.awestruct.org/
To unsubscribe, e-mail: [hidden email]

Loading...