Last active
August 29, 2015 05:36
-
-
Save AndyLampert/f3541a4411dcab78c058 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