Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

3.0 edge regression: no access to Logger in config/environments

#2841

The following regression was caused by 8ee60660cec54f008ddaa54a4e8e06d099d8c7f5:

Add the following to config/environments/development.rb

config.logger = Logger.new(config.log_path, 2, 10.kilobytes)

Result:

/home/rubys/git/awdwr/work/depot/vendor/rails/activeresource/lib/../../activesupport/lib/active_support/dependencies.rb:456:in `load_missing_constant': uninitialized constant Rails::Logger (NameError)
        from /home/rubys/git/awdwr/work/depot/vendor/rails/activeresource/lib/../../activesupport/lib/active_support/dependencies.rb:91:in `const_missing'
        from /home/rubys/git/awdwr/work/depot/config/environments/development.rb:20
        from ./script/../config/../vendor/rails/railties/lib/initializer.rb:225
        from /home/rubys/git/awdwr/work/depot/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:10:in `silence_warnings'
        from /home/rubys/git/awdwr/work/depot/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:21:in `with_warnings'
        from /home/rubys/git/awdwr/work/depot/vendor/rails/activesupport/lib/active_support/core_ext/kernel/reporting.rb:10:in `silence_warnings'
        from ./script/../config/../vendor/rails/railties/lib/initializer.rb:218
        from ./script/../config/../vendor/rails/railties/lib/initializer.rb:82:in `initialize'
         ... 9 levels...
        from /home/rubys/git/awdwr/work/depot/vendor/rails/railties/lib/commands/server.rb:83
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
        from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from script/server:3

Reported by Sam Ruby · June 26th, 2009 @ 02:44 PM

State: resolved
Milestone: 3.0.2
Assigned to: Yehuda Katz (wycats) Yehuda Katz (wycats)
Importance: none

Activity

  1. Sam Ruby
    Sam Ruby

    no longer is an issue. Please close.

    June 28th, 2009 @ 09:40 PM

  2. Yehuda Katz (wycats)
    Yehuda Katz (wycats)
    • State changed from new to resolved
    • Milestone cleared.

    June 28th, 2009 @ 09:50 PM

  3. Jeremy Kemper
    Jeremy Kemper
    • Milestone set to 3.0.2
    • Importance changed from to

    October 15th, 2010 @ 11:01 PM