Skip to content

Instantly share code, notes, and snippets.

@ypetya
Created November 3, 2009 16:23
Show Gist options
  • Save ypetya/225176 to your computer and use it in GitHub Desktop.
Save ypetya/225176 to your computer and use it in GitHub Desktop.
# .irbrc
if ENV.include?('RAILS_ENV') && !Object.const_defined?('RAILS_DEFAULT_LOGGER')
require 'logger'
RAILS_DEFAULT_LOGGER = Logger.new(STDOUT)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment