Re: [rspec-users] "no such file to load -- sqlite3" error

2010-11-12 Thread David Chelimsky
On Nov 11, 2010, at 7:53 AM, Dean Richardson wrote: > Paul: > > Thanks for taking the time to respond... that sounds like an > attractively simple solution. When I go to try it, though, I'm told that > the sqlite3 gem requires at least Ruby 1.9.1, and I'm still working with > 1.8.7. Also, I'm

Re: [rspec-users] "no such file to load -- sqlite3" error

2010-11-11 Thread Dean Richardson
Luis: Since your suggested change to database.yml got rake db:test:prepare to work when using mysql for the test database, I went ahead and tried to rake spec and rake cucumber for my app. "rake spec" produced the same error that originally led to this thread: rake aborted! **

Re: [rspec-users] "no such file to load -- sqlite3" error

2010-11-11 Thread Dean Richardson
Luis: This was really helpful advice. I went ahead and simply created the "showtime" rails app using the guidelines under section 19.3 of The RSpec Book: No problems whatsoever with rake db:test:prepare. This should have been obvious to me because I just went through that chapter a few weeks b

Re: [rspec-users] "no such file to load -- sqlite3" error

2010-11-11 Thread Luis Lavena
On Thu, Nov 11, 2010 at 11:40 AM, Dean Richardson wrote: > Hi Luis: > > Thanks for the rapid response. I'll work on your MySQL fix... in the > meantime, what further details can I provide regarding the sqlite3 > adapter issue? > If you can create a simple new rails application it will use sqlite3

Re: [rspec-users] "no such file to load -- sqlite3" error

2010-11-11 Thread Dean Richardson
Hi Luis: Thanks for the rapid response. I'll work on your MySQL fix... in the meantime, what further details can I provide regarding the sqlite3 adapter issue? --Dean Luis Lavena wrote in post #960735: > On Thu, Nov 11, 2010 at 9:49 AM, Dean Richardson > wrote: >> presence of the sqlite3-ru

Re: [rspec-users] "no such file to load -- sqlite3" error

2010-11-11 Thread Luis Lavena
On Thu, Nov 11, 2010 at 9:49 AM, Dean Richardson wrote: > David: > > Thanks for your help. I've followed the set-up instructions in the "BDD > in Rails" chapter successfully up to the "rake db:test:prepare" step. At > that point, I get the following error: > > rake aborted! > no such file to load

Re: [rspec-users] "no such file to load -- sqlite3" error

2010-11-11 Thread Dean Richardson
Paul: Thanks for taking the time to respond... that sounds like an attractively simple solution. When I go to try it, though, I'm told that the sqlite3 gem requires at least Ruby 1.9.1, and I'm still working with 1.8.7. Also, I'm already running a bunch of applications on this machine (MBP) th

Re: [rspec-users] "no such file to load -- sqlite3" error

2010-11-11 Thread Paul Nelligan
Hi Dean it seems that you have sqlite3-ruby installed, but not sqlite3 installed ... 'gem install sqlite3' might fix it ? cheers Paul On Thu, Nov 11, 2010 at 12:49 PM, Dean Richardson wrote: > David: > > Thanks for your help. I've followed the set-up instructions in the "BDD > in Rails" chapte

Re: [rspec-users] "no such file to load -- sqlite3" error

2010-11-11 Thread Dean Richardson
David: Thanks for your help. I've followed the set-up instructions in the "BDD in Rails" chapter successfully up to the "rake db:test:prepare" step. At that point, I get the following error: rake aborted! no such file to load -- sqlite3 I've attached a document containing my "gem list" output