-
Notifications
You must be signed in to change notification settings - Fork 14
ekuseru fails when using jruby #3
Comments
hmm, I run your test app and get no errors in generation xls. Can you detail tell about your problem and environment. |
Hi There, Thanks for checking it out. The stack that fails: jruby: rails: other - see gemfile The error: Started GET "/greeter/say_hello.xls" for 0:0:0:0:0:0:0:1 at 2012-01-16 12:36:43 +0200 ActionView::Template::Error (private method 'select' called for "Hello World":String): |
Hey I am getting the sort of the same error when running on Jruby 1.6.5 on Ubuntu. Error: |
please put all error trace |
That is the problem, there is no error trace provided apart from what I've shown |
And the error trace references a line in the template that does not exist |
In my case, it only happens in production under tomcat (running prod with thin, it doesn't happen). And just like what @veldtmana gets, the error trace points to nowhere. I traced the error down to the raw source used for the template and turns out that this is a bug with an old was really tricky |
Hi there,
It seems that ekuseru is not jruby compatible:
I have created a test app that is set up so it can run on either ruby or jruby (see the app's gemfile):
https://github.com/veldtmana/ekuseru_jruby_test_app
I the app is able to generate a spreadsheet using ruby 1.92 but not jruby. I am not sure if you are very familiar with the jruby environment but it is really easy to swith between the two with rvm.
If you start the app and go to: localhost:3000/greeter/say_hello.xls you will get an error with jruby but not ruby.
Could you please look at this and see if it is something simple to fix... I have tried to see what causes the error but I am stumped.
The text was updated successfully, but these errors were encountered: