[MacRuby-devel] Sqlite3 without core data
laurent.sansonetti at gmail.com
Thu Apr 28 01:28:18 PDT 2011
Have you tried using `macruby_deploy --embed --gem ...' instead of
vendoring the gems by yourself? It should work out of the box, and you
do not need to change LOAD_PATH.
On Thu, Apr 28, 2011 at 1:16 AM, Petr Kaleta <petr.kaleta at me.com> wrote:
> Thanks for this hint, this lib looks great. Problem is, that I can't make it work. I am loading all gems from vendor folder inside my app. So:
> $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'vendor/sqlite3-ruby/lib'))
> $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'vendor/sequel/lib'))
> require 'sqlite3'
> require 'sequel'
> But the problem is, that when loading sqlite3 it raises this error:
> `loadExternalLibraries': no such file to load -- sqlite3/sqlite3_native (LoadError)
> Which looks really strange... Hints?
> - Petr
> On Apr 18, 2011, at 8:00 PM, Joe West wrote:
>> On Mon, Apr 18, 2011 at 7:47 AM, Rolando Abarca
>> <rolando at gamesforfood.com> wrote:
>>> try sequel: http://sequel.rubyforge.org/
>> +1 for Sequel
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
More information about the MacRuby-devel