From: Jeffrey 'jf' Lim Date: 2007-04-09T19:52:36+09:00 Subject: Re: "require 'sqlite3'" gives "no such file to load -- sqlite3 (LoadError)" On 4/9/07, Pierre-Charles David wrote: > > If you installed sqlite3 as a gem, you need to "require 'rubygems'" > first as gems have their own search path/logic: > > % ruby -e "require 'rubygems'; require 'sqlite3'" > ah, thanks, folks!! I didnt realize that... I had previously installed sqlite3-ruby as a non-gem - perhaps that was why... Thanks! -jf -- "It's so hard to write a graphics driver that open-sourcing it would not help." -- Andrew Fear, Software Product Manager, NVIDIA Corporation http://kerneltrap.org/node/7228