Skip to content

Instantly share code, notes, and snippets.

@bonyiii
Created May 23, 2011 08:38
Show Gist options
  • Select an option

  • Save bonyiii/986407 to your computer and use it in GitHub Desktop.

Select an option

Save bonyiii/986407 to your computer and use it in GitHub Desktop.
rails 3 w unicorn to log into console
https://gist.github.com/983588
#Put this in application.rb, or in a rake task initialize code
if defined?(Rails) && (Rails.env == 'development')
Rails.logger = Logger.new(STDOUT)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment