FXRuby run error under NetBeans

M

MAwiniarski

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.
 
L

Lyle Johnson

I've got FXRuby gem installed in NetBeans 6.5b

<snip>

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

lrlebron

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.
 
M

MAwiniarski

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.

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,756
Messages
2,569,535
Members
45,008
Latest member
obedient dusk

Latest Threads

Top