Joey Aghion

Half a Mind

by Joey Aghion

Let console_color keep you out of trouble

Who hasn’t mistakenly typed into a production Rails console thinking it was development?

Introducing console_color, so you’re never unsure of your environment. To install, add console_color to your Gemfile:

gem 'console_color'

Your console will look like:

production console

I.e., DANGER. Or:

development console

Sure–it’s frivolous. But maybe it’ll save you some trouble.

Visit console_color on GitHub for more details.