When calling jruby from jruby via system, I get the following error:
LoadError: load error: win32ole/win32ole –
java.lang.NoClassDefFoundError: Could not initialize class
org.racob.com.IUnknown
require at org/jruby/RubyKernel.java:1042
require at
c:/jruby-1.6.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36
(root) at
c:/jruby-1.6.7/lib/ruby/gems/1.8/gems/jruby-win32ole-0.8.5/lib/jruby-win32ole.rb:10
require at org/jruby/RubyKernel.java:1042
require at
c:/jruby-1.6.7/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36
(root) at
c:/jruby-1.6.7/lib/ruby/gems/1.8/gems/jruby-win32ole-0.8.5/lib/jruby-win32ole.rb:3
require at org/jruby/RubyKernel.java:1042
require at
c:/jruby-1.6.7/lib/ruby/site_ruby/shared/jruby/win32ole/stub.rb:36
(root) at create_csv.rb:6
!!! Missing jruby-win32ole gem: jruby -S gem install jruby-win32ole
Installing jruby-win32ole did not help.
With -Xlaunch.inproc=false the issue does not occur but for performance
reasons I would prefer not to use it.
Manfred
–
Manfred U.
ICG IT Consulting GmbH, Kelkheim