Skip to content

Instantly share code, notes, and snippets.

@AndyLampert
Last active August 29, 2015 05:36
Show Gist options
  • Save AndyLampert/f3541a4411dcab78c058 to your computer and use it in GitHub Desktop.
Save AndyLampert/f3541a4411dcab78c058 to your computer and use it in GitHub Desktop.
Set up irb and rails console to look pretty
touch ~/.irbrc
open ~/.irbrc
paste this in:
require 'rubygems'
require 'ap'
require 'irb/completion'
IRB.conf[:AUTO_INDENT]=true
require "awesome_print"
AwesomePrint.irb!
Bonus!
Add gem 'activerecord-colored_log_subscriber' for pretty server output!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment