`sqlite3-ruby` gem is deprecated, and has been replaced with `sqlite3` gem. Have you tried bundle that gem instead of that?
-Prem On Feb 28, 2012, at 9:16 AM, byrnejb wrote: > I previously asked about this on Rails-Talk and received no response. > > We are testing Rails-3.1.1 against a test suite that runs green with > 3.0.4. With 3.1.1 we see this error whenever a test involves SQLite: > > .rvm/gems/ruby-1.8.7-p352/gems/activerecord-3.1.1/lib/active_record/ > connection_adapters/abstract/connection_specification.rb:71:in > `establish_connection': Please install the sqlite3 adapter: `gem > install activerecord-sqlite3-adapter` (sqlite3 is not part of the > bundle. Add it to Gemfile.) > > Nothing else has changed but the Rails version and any of its > dependencies. The Gemfile contains this: > > gem 'sqlite3-ruby', "= 1.2.5", :require => 'sqlite3' > > Previously, we had just this instead. > > gem 'sqlite3-ruby', "= 1.2.5" > > Either formulation works with 3.0.4. Neither works with 3.1.1. > > It is not possible to update sqlite3-ruby since the target system is > CentOS-5 based and SQLite on that distribution is locked at 3.3.6 > which is not supported by sqlite-ruby after version 1.2.5. However, > it strikes me as unlikely that Rails / ActiveRecord would permit a > dependency on a specific adapter gem. If Rails actually does have > such a dependency then I have managed to miss any reference to that > fact in the release notes. > > Is this a defect and should it be reported? If it is not a defect > then how is this situation dealt with? Is there some configuration > change required? > > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" 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-core?hl=en. > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" 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-core?hl=en.
