FXRuby run error under NetBeans

Greetings,

I’ve got FXRuby gem installed in NetBeans 6.5b

Code starts:

require ‘rubygems’
require ‘fox16’ --> this line returns error (from custom_require.rb
file)

and following: fox16.so:32:in ‘require’

E:/Programming/Apps/NetBeans 6.5 Beta/ruby2/jruby-1.1.3/lib/ruby/gems/
1.8/gems/fxruby-1.6.16-x86-mswin32-60/ext/fox16/fox16.so:32: E:/
Programming/Apps/NetBeans 6.5 Beta/ruby2/jruby-1.1.3/lib/ruby/gems/
1.8/
gems/fxruby-1.6.16-x86-mswin32-60/ext/fox16/fox16.so:1: Invalid char `
\220’ (’?’) in expression (SyntaxError)

fox16.so is installed with fxruby gem.

How to make this “Invalid char `\220’ (’?’) in expression
(SyntaxError)” run ?

Thanks.

On Tue, Sep 9, 2008 at 5:33 AM, MAwiniarski [email protected]
wrote:

I’ve got FXRuby gem installed in NetBeans 6.5b

FXRuby only works with the traditional C-based Ruby interpreter; it
won’t work under JRuby.

You may want to check which ruby platform your Netbeans project is set
to. Right click on the project name -> Properties ->Run. If it says
Jruby you need to change it to Ruby for fox to work.

On 9 Wrz, 23:03, “[email protected][email protected] wrote:

Programming/Apps/NetBeans 6.5 Beta/ruby2/jruby-1.1.3/lib/ruby/gems/

True. I’ve change Ruby Platform to pure ruby and it works.