JRuby 1.5.6 (I know. Old)
UPDATE: see easier fix below
Getting the following error when bundling:
Java::JavaLang::ArrayIndexOutOfBoundsException: An error occured while installing polyglot (0.3.3), and Bundler cannot continue.
Make sure that `gem install polyglot -v '0.3.3'` succeeds before bundling.
JRuby YAML parser is erring with this version of Polyglot (don’t you love JRuby!!).
‘gem dependency -R polyglot’ will get you the reverse dependencies on the library. In this case it’s ‘treetop’
Had to edit the ‘gemspec’ files and restrict the version of polyglot to ‘< 0.3.3'
Example - From
UPDATE: EASIER FIX:
gem ‘polyglot’, ‘0.3.2’ in your Gemfile, it might just do the trick.