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 method `equal?'' 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 method `equal?'' 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 method `equal?'' called for #<Hash:0xb76c5978> What can it be ? I have deleted, rebooted and redeployed from scratch but the error persists. --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, Did you solve this problem? I have exactly the same issue... H. On 6 Paź, 17:10, An <AndreaMorand...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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 > method `equal?'' 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 > method `equal?'' 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 method `equal?'' > called for #<Hash:0xb76c5978> > > What can it be ? > > I have deleted, rebooted and redeployed from scratch but the error > persists.--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org 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 -~----------~----~----~----~------~----~------~--~---
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. On 27 Paź, 16:05, Hubert Łępicki <hubert.lepi...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi, > > Did you solve this problem? I have exactly the same issue... > > H. > > On 6 Paź, 17:10, An <AndreaMorand...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > 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 > > method `equal?'' 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 > > method `equal?'' 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 method `equal?'' > > called for #<Hash:0xb76c5978> > > > What can it be ? > > > I have deleted, rebooted and redeployed from scratch but the error > > persists.--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org 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 -~----------~----~----~----~------~----~------~--~---