TypeError: can't convert Array into String using autotest jruby-1.6.6

Dear guys,

I got the following exception raised when including autotest with
jruby-1.6.6, any ideas?
$ jruby -S autotest (Not running features. To run features in autotest,
set AUTOFEATURE=true.) loading autotest/rspec2 TypeError: can’t convert
Array into String join at org/jruby/RubyArray.java:1868 initialize at
/Users/larry/.rvm/rubies/jruby-1.6.6/lib/ruby/site_ruby/shared/ffi/ffi.rb:64
attach_function at
/Users/larry/.rvm/rubies/jruby-1.6.6/lib/ruby/site_ruby/shared/ffi/library.rb:154
each at org/jruby/RubyArray.java:1614 attach_function at
/Users/larry/.rvm/rubies/jruby-1.6.6/lib/ruby/site_ruby/shared/ffi/library.rb:150
Uname at
/Users/larry/.rvm/gems/[email protected]/gems/sys-uname-0.9.0/lib/unix/sys/uname.rb:43
Sys at
/Users/larry/.rvm/gems/[email protected]/gems/sys-uname-0.9.0/lib/unix/sys/uname.rb:8
(root) at
/Users/larry/.rvm/gems/[email protected]/gems/sys-uname-0.9.0/lib/unix/sys/uname.rb:6
require at org/jruby/RubyKernel.java:1036 require at
/Users/larry/.rvm/gems/[email protected]/gems/sys-uname-0.9.0/lib/unix/sys/uname.rb:36
(root) at /Users/larry/.rv
m/gems/[email protected]/gems/autotest-fsevent-0.2.8/lib/autotest/fsevent.rb:3
require at org/jruby/RubyKernel.java:1036 require at
/Users/larry/.rvm/gems/[email protected]/gems/autotest-fsevent-0.2.8/lib/autotest/fsevent.rb:59
(root) at /Users/larry/.autotest:1 load at
org/jruby/RubyKernel.java:1062 initialize at /Users/larry/.autotest:315
each at org/jruby/RubyArray.java:1614 initialize at
/Users/larry/.rvm/gems/[email protected]/gems/ZenTest-4.6.2/lib/autotest.rb:314
initialize at
/Users/larry/.rvm/gems/[email protected]/gems/rspec-core-2.8.0/lib/autotest/rspec2.rb:13
run at
/Users/larry/.rvm/gems/[email protected]/gems/ZenTest-4.6.2/lib/autotest.rb:244
(root) at
/Users/larry/.rvm/gems/[email protected]/gems/ZenTest-4.6.2/bin/autotest:6
load at org/jruby/RubyKernel.java:1062 (root) at
/Users/larry/.rvm/gems/[email protected]/bin/autotest:19

Cheers,


Larry Zhao

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs