Forum: Ferret Problems with Ruby 1.9.1 / Rails 2.3.2 / aaf

Posted by Gernot Kogler (gkogler)
on 2009-07-08 18:09
I've set up a debian server with ruby 1.9.1, rails 2.3.2, postgres and
several gems. While I was able to get all my required gems working
(including a patched ferret gem), acts_as_ferret does not work. I've
tried the gem and installed it as a plugin, but either way I get the
following stack trace when I start the web server (I'm also concerned
about the warning "undefining `object_id' may cause serious problem"):

=> Booting WEBrick
=> Rails 2.3.2 application starting on http://0.0.0.0:3000
/usr/local/lib/ruby/gems/1.9.1/gems/ferret-0.11.8/lib/ferret/field_symbol.rb:8:
warning: undefining `object_id' may cause serious problem
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/active_support/vendor/builder-2.1.2/blankslate.rb:41:in
`reveal': Don't know how to reveal method 'methods' (RuntimeError)
        from
/usr/local/lib/ruby/gems/1.9.1/gems/acts_as_ferret-0.4.4/lib/search_results.rb:6:in
`<class:SearchResults>'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/acts_as_ferret-0.4.4/lib/search_results.rb:5:in
`<module:ActsAsFerret>'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/acts_as_ferret-0.4.4/lib/search_results.rb:1:in
`<top (required)>'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
`require'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
`block in require'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in
`new_constants_in'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
`require'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/acts_as_ferret-0.4.4/lib/acts_as_ferret.rb:33:in
`<top (required)>'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
`require'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
`block in require'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in
`new_constants_in'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
`require'
        from /home/gernot/apps/app_template/config/environment.rb:12:in
`block in <top (required)>'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.2/lib/initializer.rb:111:in
`run'
        from /home/gernot/apps/app_template/config/environment.rb:9:in
`<top (required)>'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
`require'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
`block in require'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:521:in
`new_constants_in'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:156:in
`require'
        from
/usr/local/lib/ruby/gems/1.9.1/gems/rails-2.3.2/lib/commands/server.rb:84:in
`<top (required)>'

can anybody please help me?

Thanks and best regards
Gernot
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.