Fwd: Jruby classCastexception RubyString cannot be cast to RubyHash

In a ruby script that is working on one ubuntu machine (v 12.0.4) with
jruby 1.7.3 … fails on a newly configured box. Seems pretty clear that
must be *some *configuration difference between them, but I don’t know
what
to look for.

LoadError: load error: classifier – java.lang.ClassCastException:
org.jruby.RubyString cannot be cast to org.jruby.RubyHash
require at org/jruby/RubyKernel.java:1027
require at
/opt/jruby-1.7.3/lib/ruby/shared/rubygems/custom_require.rb:3
require at
/opt/jruby-1.7.3/lib/ruby/shared/rubygems/custom_require.rb:36
(root) at /opt/am/ver/1.0/hive/classifier-wf.rb:8

Although the actual code may have little to do with the issue (since
it works on one of the boxes), here it is for completeness:

#!/opt/jruby/bin/jruby## classifier-wf.rb: Defines the classifier
workflow## Copyright © mycompany 2011-2013. All rights reserved. ##
Handle cmd line args
require ‘classifier’ # this is the offending line 8

The stacktrace seems to indicate that the error is within core jruby
trying
to invoke the loading logic

I am looking for suggestions how to proceed from here, maybe others have
run into this…