From: Suraj Kurapati Date: 2007-01-28T05:52:50+09:00 Subject: Re: Ruby extension (C++) on OS X and Google-Sketchup [ruby 1 Nicholas wrote: > I have written a ruby extension in C++ and it works fine on OS X > Tiger which ships ruby-1.8.2. I'm surprised that it actually works in 1.8.2... > cRCL = rb_define_class("rcl", rb_cObject); <=== /CRASH Why are you defining a class whose name is not capitalized? Ruby doesn't let you do this from Ruby code: $ irb class rcl end SyntaxError: compile error (irb):1: class/module name must be CONSTANT from (irb):2 -- Posted via http://www.ruby-forum.com/.