From: MAwiniarski Date: 2008-09-10T22:08:29+09:00 Subject: Re: invalid char '\220' in expression On 10 Wrz, 13:26, Lars Christensen wrote: > On Sep 10, 1:00 pm, MAwiniarski wrote: > > > Using Ruby in NetBeans I've got following error in separate cases with > > gems: > > > /.so:1: Invalid char `\220' in expression. > > > What is it about ? > > By coincience, I stumbled over the exact same error message yesterday > while making a wrapper for some ruby scripts. It turned out I had > accidentally called ruby.exe with the ruby.exe executable as argument, > for example (simplified): > >     system("ruby c:\\ruby\\bin\\ruby.exe") > > '\220' is 0x90 HEX and the third byte (after two ASCII chars) in a > Windows executable or DLL. Ruby doesn't like that when attempting to > parse an executable. > > Hope it helps, > Lars I'm using it with NetBeans Rails project, running Rake Task db:create (already defined command).