I don't have a good answer to your question, but may I suggest CoreData? More to learn, but a native solution that might fit MacRuby with fewer issues:

http://cbpowell.wordpress.com/2011/05/27/macruby-notes-series-taking-the-pain-out-of-core-data-part-1/
http://cyberfox.com/blog/120-how-i-learned-to-stop-worrying-about-core-data-and-love-macruby

On Tuesday, October 11, 2011 at 11:20 AM, Jon Doud wrote:

I am trying to use Sequel, ActiveRecord or Datamapper with MacRuby and XCode.  So far I haven't had any success.

Environment:
XCode 4.2 Beta
MacRuby 0.10  and 0.11-nightly
Sequel 3.28
ActiveRecord 3.0.10
Datamapper 1.1.0
Sqlite3 1.3.4
Sqlite-ruby 1.3.3

Both ActiveRecord and Sequel die in IRB  (segmentation fault: 11) when I try to access the data table.  Datamapper doesn't even load in IRB for me.

Has anyone had any success with any ORM in XCode?

- Jon



_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel