I am getting this message when running my tests against RoR-3.1

`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

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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
postedFeb 27, '12 at 6:13p
activeFeb 27, '12 at 6:13p

1 user in discussion

Byrnejb: 1 post



site design / logo © 2021 Grokbase