Last Updated: October 22, 2022
·
1.224K
· cardsfanbob

Prettier Rails console output

If you are using RVM, install the awesome_print gem globally:

rvm @global do gem install awesome_print
rvm.reload

Edit or create a ~/.irbrc and add the following two lines:

require "awesome_print"
AwesomePrint.irb!

Open up a rails console and enjoy :)