Rails 3.2: NameError: uninitialized constant ActiveSupport::TaggedLogging::ERROR #4580

dmke opened this Issue Jan 21, 2012 · 1 comment


None yet
2 participants

dmke commented Jan 21, 2012

I first discovered that Devise won't work in Rails 3.2 (neither 1.5.7, nor 2.0.0.rc, nor master). It boils down to these steps:

$ rails new myapp
$ cd myapp
$ echo -n '\ngem "execjs"\ngem "therubyracer" >> Gemfile' # Ubuntu system
$ bundle
$ bundle exec rails c
> logger = ActiveSupport::TaggedLogging.new(Logger.new(STDOUT))
> logger.silence
NameError: uninitialized constant ActiveSupport::TaggedLogging::ERROR
  from .../activesupport-3.2.0/lib/active_support/tagged_logging.rb:30:in `silence'

Looks like this ERROR default value is not in the same scope as the silence method...


kennyj added a commit to kennyj/rails that referenced this issue Jan 21, 2012

josevalim added a commit that referenced this issue Jan 21, 2012

Merge pull request #4582 from kennyj/fix_4580
Fix  GH #4580. Rails 3.2: uninitialized constant ActiveSupport::TaggedLogging::ERROR

vijaydev commented Jan 21, 2012

#4582 is merged. Closing.

@vijaydev vijaydev closed this Jan 21, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment