I am looking for an example/tutorial on extending ruby with C using
I add the using windows because I was to extend pcap ruby to windows
day), and it is what i currently have installed. I read the pickaxe book
the example does not work for me. I think my problem with pickaxe
the location of my file in the ruby dir. I was getting and error with
value statment so i removed all the code excpet the return self in the
functions. and i get
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:inrequire’
I read this
in linux, make does not work.
Thank you for your time.