Hi everybody,
I’m moving a Rails 3.1.1 to JRuby, but I’m finding some issues.
I tried first using JRuby 1.6.5 and 1.6.4, but I encountered this bug
[1]. I also tried to use torquebox as web server, but nothing changes.
So I tried to move back to JRuby 1.6.3 and this bug disappears. The
problem here lives in the views rendering. In fact, when I render a
page, it is re-rendered every time it JRuby finds an erb tag (<%= %>),
or at least this is the behaviour I came up with looking at the pages
resulting. In other words, if you check the link [2], you can see how
many times the HTML restart (you see the head tag multiple times).
Now, I can’t really understand why it behaves in this way, and after
some researches, I wanted to ask to you some help.
Thanks in advance.
[1] http://jira.codehaus.org/browse/JRUBY-6164
[2] http://pastie.org/2883038