Are there any Mac users out there?
Whenever I require both sqlite3 and RubyCocoa ( http://rubycocoa.sourceforge.net/doc/ ), sqlite3 cannot connect to _any_ databases with Database.new or Database.open. When you comment out "require 'osx/cocoa'", sqlite3 works just fine. I stepped through the code, and the exact same code is being called, but the calls to API. in the sqlite3_open functions in database.rb (I think) return an error code of 21 "cannot connect to database" instead of 0 when I'm /not/ using RubyCocoa. Does anybody have any ideas what the problem might be? I'm dying to use SQLite3 and RubyCocoa together.
|