Last Updated: December 26, 2018
· rubenrails

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



4 Responses
Add your response

That's fun. Thank you!

over 1 year ago ·

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?

over 1 year ago ·

@cpalafox puts output is for irb, in rails debug you can use

over 1 year ago ·

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

over 1 year ago ·