Hi Petr, 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.
Laurent On Thu, Apr 28, 2011 at 1:16 AM, Petr Kaleta <petr.kal...@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 >> <rola...@gamesforfood.com> wrote: >>> try sequel: http://sequel.rubyforge.org/ >>> >> >> +1 for Sequel >> _______________________________________________ >> MacRuby-devel mailing list >> MacRuby-devel@lists.macosforge.org >> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > > _______________________________________________ > MacRuby-devel mailing list > MacRuby-devel@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel > _______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel