From: Bosko Ivanisevic Date: 2009-05-04T15:50:08+09:00 Subject: Re: Need help with SQLite3 On May 4, 3:03 am, Joshua Collins wrote: > [Note:  parts of this message were removed to make it a legal post.] > > when I type $ sqlite3 > > No matter the directory since it is in my path > > I get the output > > SQLite version 3.6.13 > Enter ".help" for instructions > Enter SQL statements terminated with ";" > sqlite> > > But, it seems my Ruby is not connecting to SQLite3. For instance, that test > file I setup should have gave the prompted text if it returned TRUE, but it > seems to have returned FALSE > > So, any code I write will not interface with the database :-\ > > On Sun, May 3, 2009 at 8:50 PM, 7stud -- wrote: > > Joshua Collins wrote: > > > I am trying to install SQLite3 > > > > I put the required Windows32 files into my path. I installed the gem > > > sqlite3-ruby successfully ... but something is wrong! > > > > I tested the installation with: > > > > require 'rubygems' > > > require 'sqlite3' > > > puts "It's all okay!" if defined?(SQLite3::Database) > > > > On out put I get nothing ... if all was setup ok i should get out of: > > > > It's all okay! > > > > Any idea what could be causing the issue? > > > What directory was your prompt pointing at?  What is the output when you > > type: > > > ...some/path> sqlite3 > > > -- > > Posted viahttp://www.ruby-forum.com/. > > Do you have sqlite3.dll in your path too? Regards, Bosko