iup9nq
Last Updated: November 26, 2018
·
717
· 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 :)