Created
October 4, 2012 07:45
-
-
Save lakshminarayanan/3832036 to your computer and use it in GitHub Desktop.
Disable colors in rails console
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# disappear the annoying ANSI codes for PowerShell and cmd | |
if RUBY_PLATFORM =~ /mswin|mingw/i | |
ActiveSupport::LogSubscriber.colorize_logging = false | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment