warbler icon indicating copy to clipboard operation
warbler copied to clipboard

Cannot set JRuby to run in 1.9 mode

Open ebeigarts opened this issue 15 years ago • 22 comments

If I uncomment this line in config/warbler.rb

# Set JRuby to run in 1.9 mode.
config.webxml.jruby.compat.version = "1.9"

Then $ warble throws

warble aborted!
undefined method `jruby' for nil:NilClass
(eval):119:in `initialize'
/Users/beigaedg/.rvm/gems/jruby-1.6.5@global/gems/warbler-1.3.2/lib/warbler/config.rb:171:in `initialize'
(eval):5:in `initialize'
org/jruby/RubyKernel.java:1088:in `eval'

I am using JRuby 1.6.5 and I tried this with warbler 1.3.2 and master (both have these erros).

What am I doing wrong?

ebeigarts avatar Nov 09 '11 23:11 ebeigarts

@masover jruby 1.7 already defaults to 1.9

plentz avatar Oct 26 '12 13:10 plentz

Closing this since #117 is merged, let me know if still being a issue

guilleiguaran avatar Oct 26 '12 13:10 guilleiguaran