Private method `equal?' called for {}:Hash

I have two servers in production. Same installation, same ruby
version, same rails, deployed using capistrano.

Suddendly one server gives this error: private method `equal?’ called
for {}:Hash even if I start the console:

/var/www/reputation/releases/20081006154941/vendor/rails/activerecord/
lib/…/…/activesupport/lib/active_support/core_ext/class/
inheritable_attributes.rb:127:in inherited':NoMethodError: private methodequal?’ called for {}:Hash
/var/www/reputation/releases/20081006154941/vendor/rails/activerecord/
lib/…/…/activesupport/lib/active_support/core_ext/class/
inheritable_attributes.rb:127:in inherited':NoMethodError: private methodequal?’ called for {}:Hash
/var/www/reputation/releases/20081006154941/vendor/rails/activerecord/
lib/…/…/activesupport/lib/active_support/core_ext/class/
inheritable_attributes.rb:127:in
inherited_without_layout':NoMethodError: private methodequal?’
called for #Hash:0xb76c5978

What can it be ?

I have deleted, rebooted and redeployed from scratch but the error
persists.

Hi,

Did you solve this problem? I have exactly the same issue…

H.

Hi,

it appears it was Debian specific issue in my problem.

Debian’s libgsl-ruby library automatically included GSL namespace when
library was included. I had to edit gsl.rb file and comment out
“include GSL” to prevent conflict with activesupport.

H.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs