On Jul 12, 2:05 pm, Barney <[email protected]> wrote: > Hello, > I'm using the newest "Agile Web Development With Rails" book and > the Ruby command line call near the end of p. 267 is: > sqlite3 -line db/development.sqlite3 "select * from orders limit 1" > and this, (with my own table, which has data which was verified by > looking at the WEBRick output in a browser) gives the error: > sqlite3 is not recognized as an internal or external command, operable > program or batch file. > But, sqlite3 is installed and working (by Web verification) and also > the rails console works and shows me the column_names, etc. Also, > sqlite3.dll exists in c:\ruby192\bin\ and that path is in my > environment PATH variable. I'm using Windows XP. > What am I forgetting to do?
Download sqlite3.exe and place in C:\ruby192\bin along the .dll, that should allow dbconsole to work. If not, you can still do "sqlite3 db/development.sqlite3" and be able to run SQL statements there. -- Luis Lavena -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

