[jruby-user] Error 'uninitialized constant Arel::Visitors::SQLite' with rails

David Bennett <[email protected]>
Newsgroups gmane.comp.lang.jruby.user
Message-ID <[email protected]>
The problems started when I updated a working Rails project to Netbeans
7.4. I have installed all the gems I thought I needed, and the result is
this error when trying to create a database.

uninitialized constant Arel::Visitors::SQLite

The error is here:
.../activerecord-jdbc-adapter-1.3.10/lib/arjdbc/sqlite3/adapter.rb:104:in
`SQLite3'

Relevant versions are:

    JRuby 1.7.0
    Rails 2.3.8
    activerecord-jdbcsqlite3-adaptor 1.3.10.

A bit of searching told me that "Arel::Visitors::VISITORS is deprecated
and will be removed", and this is likely to be somewhere around this
version of Rails. It didn't tell me what to do about it.

I suspect a dependency/version problem, but I have no idea what.

[My apologies if this post is badly formatted -- I tried, but the
markdown if any defeats me.]

-- 
Posted via http://www.ruby-forum.com/.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.