[fxruby-users] FXRuby FXScintilla question

Rovshan Baghirov rovshanb at gmail.com
Mon Aug 18 07:52:26 EDT 2008


I have started learning FXRuby about 2 weeks ago. Now I'm trying to
launch the scintilla_test.rb from the fxruby-1.6 installation directory
(/usr/lib/ruby/gems/1.8/gems/fxruby-1.6.16/examples) and get this
error: /usr/lib/ruby/gems/1.8/gems/fxruby-1.6.16/lib/fox16/kwargs.rb:2007:in `old_initialize': wrong number of arguments (8 for 0) (ArgumentError)

from /usr/lib/ruby/gems/1.8/gems/fxruby-1.6.16/lib/fox16/kwargs.rb:2007:in `initialize'
	from -:32:in `new'
	from -:32:in `initialize'
	from -:75:in `new'
	from -:75

Exited: 256

I'm on Ubuntu 8.04 and I installed libfxscintilla17 and
libfxscintilla-dev from Synaptic.
When I change line 2007 in kwargs.rb to old_initialize() the application
starts but without the editor. How can I fix this error?

Thanks in advance,

More information about the fxruby-users mailing list