I am getting this message when running my tests against RoR-3.1
.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.)
However, I already have this in my Gemfile and this works fine with
RoR-3.0.x
gem ''sqlite3-ruby'', "= 1.2.5"
changing this line to
gem ''sqlite3-ruby'', "= 1.2.5" , :require =>
''sqlite3''
and running bundle install does not resolved the problem.
The host system is running CentOS-5.7 and the distribution ships with
SQLite-3.3.6. The most recent versions of sqlite3-ruby do not compile
against this version of SQLite3 but this is the most recent version of
SQLite3 that we can obtain authorized packages for. The author of
sqlite3-ruby has written that sqlite3-ruby does not, and will not,
support SQLite-3.3 after version 1.2.5 . We are therefore constrained
to use sqlite3-ruby 1.2.5.
How can I fix this problem?
--
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.