Yeah I think you're right. I'm working on this now... I noticed the only RAILS_ENV I have set on sqlite is the test environment (in database.yml), and cucumber is now doing some ||= fun on the RAILS_ENV, so I'm following that trail. I suspect something (cucumber?) is setting me to the test or cucumber RAiLS_ENV.
Thanks for the post! Matt Wynne wrote: > On 18 Nov 2009, at 18:39, David Nawara wrote: > >> does fix itself when i comment out my rspec-rails gem. > Which version of the rspec-rails gem are you using? > > Can you check the value of RAILS_ENV before and after the connection > adapter gets changed? There are plugins and various other things > (including an old version of rspec-rails) that stomp on RAILS_ENV when > they load. That might be the problem. > > cheers, > Matt > > +447974 430184 > [email protected] > http://mattwynne.net -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
