[DRE-maint] Bug#738563: ruby-gettext-activerecord: in `alias_method': undefined method `default_error_messages' for class `Class' (NameError)
Christian Hofstaedtler
zeha at debian.org
Mon Feb 10 17:26:21 UTC 2014
Package: ruby-gettext-activerecord
Version: 2.1.0-5
Severity: grave
Justification: renders package unusable
Dear Maintainer,
require 'gettext_activerecord' fails.
The example in the examples directory fails the same way:
18:23 ch at nq:~/examples % rake makemo
rake aborted!
undefined method `default_error_messages' for class `Class'
/home/ch/examples/Rakefile:11:in `block in <top (required)>'
Tasks: TOP => makemo
(See full trace by running task with --trace)
1 18:24 ch at nq:~/examples % ruby sample.rb
/usr/lib/ruby/vendor_ruby/active_support/core_ext/module/aliasing.rb:31:in `alias_method': undefined method `default_error_messages' for class `Class' (NameError)
from /usr/lib/ruby/vendor_ruby/active_support/core_ext/module/aliasing.rb:31:in `alias_method_chain'
from /usr/lib/ruby/vendor_ruby/gettext_activerecord/validations.rb:82:in `singletonclass'
from /usr/lib/ruby/vendor_ruby/gettext_activerecord/validations.rb:76:in `<class:Errors>'
from /usr/lib/ruby/vendor_ruby/gettext_activerecord/validations.rb:71:in `<module:ActiveRecord>'
from /usr/lib/ruby/vendor_ruby/gettext_activerecord/validations.rb:10:in `<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/vendor_ruby/gettext_activerecord.rb:15:in `<top (required)>'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from sample.rb:5:in `<main>'
1 18:24 ch at nq:~/examples % ruby --version
ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
18:24 ch at nq:~/examples % rake --version
rake, version 10.0.4
Thanks,
Christian
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.12-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ruby-gettext-activerecord depends on:
ii ruby 1:1.9.3.3
ii ruby-activerecord 2:3.2.13+1
ii ruby-gettext 3.0.3-2
ii ruby1.9.1 [ruby-interpreter] 1.9.3.484-2
ii ruby2.0 [ruby-interpreter] 2.0.0.484-1
ii ruby2.1 [ruby-interpreter] 2.1.0-1~0
ruby-gettext-activerecord recommends no packages.
ruby-gettext-activerecord suggests no packages.
-- no debconf information
More information about the Pkg-ruby-extras-maintainers
mailing list