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.

<snip>

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

···

On Tue, Sep 9, 2008 at 5:33 AM, MAwiniarski <MAwiniarski@gmail.com> wrote:

I've got FXRuby gem installed in NetBeans 6.5b

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.

MAwiniarski wrote:

···

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.

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

···

On 9 Wrz, 23:03, "lrleb...@gmail.com" <lrleb...@gmail.com> wrote:

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.

MAwiniarski wrote:
> 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.