senthil raja
senthil raja

Reputation: 90

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.

Upvotes: 0

Views: 1004

Answers (1)

messedupfir
messedupfir

Reputation: 127

Have you tried running:

$ jruby --1.9 -S gem install roo

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

Upvotes: 0

Related Questions