Re: [MacRuby-devel] macruby and sqlite3 gem (Wladjmir)

2010-03-15 Thread Wladj
Hi, yes i used the latest nightly build, honestly i would prefer to use sqlite3 and activerecord instead of coredata, maybe in few months that will be possible. Thanks for your commitment Wladjmir > > Hi, > > C extensions are not supported in the current stable release, 0.5. > > I suppose you

Re: [MacRuby-devel] macruby and sqlite3 gem

2010-03-13 Thread Laurent Sansonetti
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

[MacRuby-devel] macruby and sqlite3 gem

2010-03-13 Thread Wladj
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

[MacRuby-devel] macruby and sqlite3 gem

2009-03-31 Thread Tim Rand
Hi Jordon, Thanks for the idea. I tried it (arch -arch i386 macirb), but get the same error. Tim Jordon suggested: "does not contain a version for the current architecture" sounds like a 32-bit vs. 64-bit problem to me. MacRuby 0.4 has both i386 and x86_64 archs for macruby and macirb, on a capa

Re: [MacRuby-devel] macruby and sqlite3 gem

2009-03-31 Thread Jordan Breeding
"does not contain a version for the current architecture" sounds like a 32-bit vs. 64-bit problem to me. MacRuby 0.4 has both i386 and x86_64 archs for macruby and macirb, on a capable system it will pick the x86_64 arch first, which means any frameworks you load while running that arch nee

[MacRuby-devel] macruby and sqlite3 gem

2009-03-31 Thread Tim Rand
I was worried that it was an IO issue with macruby, which is why I am very excited that the 0.5 version is going to be address the IO system--hopefully it will help with this issue. I would love to help, but an issue spanning macruby, obj-c, sqlite3, and possibly C is really stretching my abilities