#3 ✓ resolved
Jens

rails 2.3.2 / ruby 1.9.1 / acts_as_ferret raises exception

Reported by Jens | February 13th, 2010 @ 12:35 AM

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<br/> /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/active_support/vendor/builder-2.1.2/blankslate.rb:41:inreveal': 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)>'

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Pages