From: MAwiniarski Date: 2008-09-10T22:03:37+09:00 Subject: Re: FXRuby run error under NetBeans On 9 Wrz, 23:03, "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. > > True. I've change Ruby Platform to pure ruby and it works.