Forked from AndyLampert/gist:f3541a4411dcab78c058
Last active
August 29, 2015 05:36
-
-
Save zachalewel/ec2736c15532443f1dab to your computer and use it in GitHub Desktop.
Set up irb and rails console to look pretty
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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