Skip to content

Instantly share code, notes, and snippets.

@bogdan
Created August 25, 2010 10:49
Show Gist options
  • Save bogdan/549264 to your computer and use it in GitHub Desktop.
Save bogdan/549264 to your computer and use it in GitHub Desktop.
if ENV.include?('RAILS_ENV') && !Object.const_defined?('RAILS_DEFAULT_LOGGER')
require 'logger'
RAILS_DEFAULT_LOGGER = Logger.new(STDOUT)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment