简体   繁体   中英

ArrayIndexOutOfBoundsException in arraycopy when installing roo gem with JRuby

I am getting following error while installing gem roo in jruby.

C:\tibbr\svn\community_manager>gem install roo
System.java:-2:in `arraycopy': java.lang.ArrayIndexOutOfBoundsException
        from DefaultResolver.java:111:in `makeTime'
        from DefaultResolver.java:277:in `create'
        from DefaultResolver.java:317:in `handleScalar'
        from DefaultResolver.java:435:in `orgHandler'
        from DefaultResolver.java:455:in `node_import'
        from org/yecht

Any suggestion please.

Have you tried running:

$ jruby --1.9 -S gem install roo

The problem should be fixed in jruby 1.6.2, as well.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM