------art_10613_18890234.1137804502240
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hello,
I am looking for an example/tutorial on extending ruby with C using windows.
I add the using windows because I was to extend pcap ruby to windows (one
day), and it is what i currently have installed. I read the pickaxe book and
the example does not work for me. I think my problem with pickaxe example is
the location of my file in the ruby dir. I was getting and error with the
value statment so i removed all the code excpet the return self in the
functions. and i get

c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__':
C:\ruby\lib\ruby\Test.rb:7: void value expression (SyntaxError)
  return self;
             ^
C:\ruby\lib\ruby\Test.rb:7: odd number list for Hash
  return self;
             ^
C:\ruby\lib\ruby\Test.rb:7: syntax error
  return self;
             ^
C:\ruby\lib\ruby\Test.rb:8: syntax error    from
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'
    from testtest.rb:1


I read this
http://www.onlamp.com/pub/a/onlamp/2004/11/18/extending_ruby.html  and it is
in linux, make does not work.

Thank you for your time.
Becker

------art_10613_18890234.1137804502240--