Easy and beautiful Rails logs
If you're already using pow for your rails app, you can install powder in order to make pow even easier. From the powder page:
“Makes Pow even easier. I mean really, really, ridiculously easy”
Ok, so let's install powder:
$ gem install powder
Once installed, you can tail the log of the current application using:
$ powder applog
It works as expected, but...what about colorizing the log output? Let's use grc to add a little bit of color.
“Use grc to add 'stylesheets' for your favorite terminal apps”
Install grc using Homebrew:
$ brew install grc
Now just prepend grc to your tail or applog commands:
$ grc powder applog
Enjoy!
Written by Ruben Ascencio
Related protips
4 Responses

That's fun. Thank you!

It's great! the problem is there's no 'puts' output using this, is there any way to make it show the puts message, or any other way to help us debug the app?

@cpalafox puts output is for irb, in rails debug you can use Rails.logger.info/warn/error

How would you colorize the Rails.logger output with different colors depending on info/warn/error?