From: jhs408@... Date: 2009-04-17T07:45:03+09:00 Subject: Re: Ruby sqlite/gem error: Could not load sqlite adapter On Apr 16, 9:26 am, Ben Lovell wrote: > [Note:  parts of this message were removed to make it a legal post.] > > On Thu, Apr 16, 2009 at 4:10 PM, wrote: > > The sample  "c:\tmp'Test_sqlite.rb"   generates the error: Could not > > load sqlite adapter, > > Yet, when the example is executed in the sqlite3-ruby directory,  no > > error occur. > > > Any suggestion or changes to the sample to resolve the error. > > I may be mistaken but I'm pretty sure you have to put the sqlite3.dll (or > other binaries depending on your version) in your c:\windows\system32 > directory. Give that a try. > > Ben Ben, The sqlite3.dll is located in a directory located in the PATH. It appears that rubygems is not able to locate sqlite.rb in the directory:C:\Ruby\lib\ruby\gems\1.8\gems\sequel-2.12.0\lib\sequel \adapters when the sample is executed from c:\tmp Yet when I place the sample in the directory: C:\Ruby\lib\ruby\gems\1.8\gems\sequel-2.12.0 the sample program executes correctly. Which leads me to conclude that rubygem is having a problem. John