Arun Gupta (JIRA) wrote:
"undefined method `options' for []:Array (NoMethodError)" with JRuby trunk and 
Mongrel
--------------------------------------------------------------------------------------

                 Key: JRUBY-1411
                 URL: http://jira.codehaus.org/browse/JRUBY-1411
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.0.1
         Environment: Windows Vista, JDK 1.5.0_012
            Reporter: Arun Gupta
            Priority: Blocker


JRuby 1.0.1 + (default) Rails Gem (version 1.2.4) does not work on Windows 
because of JRUBY-1401. JRuby 1.0.1 + (default) Mongrel 1.0.1 does not work on 
Windows because of JRUBY-1410.

Now the trunk is broken because of the following stack trace.

=> Booting Mongrel (use 'script/server webrick' to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Ruby version is not up-to-date; loading cgi_multipart_eof_fix
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
Exiting
java.lang.NoSuchMethodError: 
org.jruby.RubyHash.aset(Lorg/jruby/runtime/builtin/IRubyObject;Lorg/jru
by/runtime/builtin/IRubyObject;)Lorg/jruby/runtime/builtin/IRubyObject;

I think that more gems (e.g. jruby-debug) get broken with trunk with this incompatible API change:

http://archive.jruby.codehaus.org/scm/20071008182345.B131F1620001%40codehaus01.managed.contegix.com#trunkjrubysrcorgjrubyRubyHashjava

I've change the code to use op_aset. Not sure if the right way to go. Is there any place where we can 'listen' to such API changes with the hint what we should use instead?

        m.


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

   http://xircles.codehaus.org/manage_email

Reply via email to