We will not be able to support the native parts of racc, that much I
can guarantee. We probably need to get racc maintainers to spin a
-java gem that basically just uses the pure-Ruby stuff until we can
"commission" a port.

If I remember correctly, the native part of racc is only for speed;
the Ruby logic should function identically.

- Charlie

On Mon, Jul 23, 2012 at 3:33 PM, Rodrigo Rosenfeld Rosas
<rr.ro...@gmail.com> wrote:
> Em 23-07-2012 17:29, Rodrigo Rosenfeld Rosas escreveu:
>
> Em 23-07-2012 17:28, Rodrigo Rosenfeld Rosas escreveu:
>
> It seems Rails 4 router parser is depending on racc gem which does not work
> with JRuby:
>
> https://github.com/rails/journey/commit/6d462f2003297ad6d5dba940fed0f123549e36e2#commitcomment-1618473
>
> Would you have any recommendation on how to support JRuby in Rails 4?
>
>
> The error is:
>
> /opt/jdk1.7.0_03/bin/java: symbol lookup error:
> /home/rodrigo/.rvm/gems/jruby-1.6.7.2/gems/racc-1.4.8/lib/racc/cparse.so:
> undefined symbol: rb_catch
>
> The gem gets compiled by JRuby but fails to load. I'll try with a newer
> JRuby version later.
>
>
> At least it doesn' try to compile by default on jruby-head.
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to