Hi, C extensions are not supported in the current stable release, 0.5. I suppose you are using MacRuby trunk? Support for C extensions on trunk is _very_ experimental. I was able to get the sqlite3 extension working a couple of weeks ago, but I didn't test recently. And currently trunk is a bit unstable because we just merged a big branch. I recommend to wait for the next release if you want to use C extensions, and in the meantime, to use something that does not rely on the C API (such as Objective-C frameworks like CoreData). Laurent On Mar 13, 2010, at 4:13 AM, Wladj wrote:
Can someone help me to get sqlite3 gem working with macruby?
macirb irb(main):006:0> require 'rubygems' => true irb(main):007:0> require 'sqlite3' => true irb(main):008:0> db = SQLite3::Database.new("test.db") Segmentation fault
or suggest me a viable other way or db to have simple db function in macruby (CoreData seems to me too cumbersome)
Thanks Wladjmir _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel