Rails generator logging

On February 25, 2010 · 1 Comments

I cranked up the Ruby on Rails beta 3 and am working on re-implementing an application I started in RoR 2.x. After the initial fight with upgrading Ruby, the rails generate command was working (almost) fine. The problem is that the output from this command was colorized, which didn’t play well with Emacs. After a couple of scaffold generations, I couldn’t stand it anymore and went in search of the setting to disable it.

In your config/application.rb file, put the line:

config.generators.colorize_logging = false

And that’s all there is to it. It wasn’t as hard as finding some low cost business insurance, but it did take me a few minutes to find. Hopefully, this helps someone else.


One Response to “Rails generator logging”

  1. [...] Follow this link: Conecuh Software — Rails generator logging [...]

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word