Created
July 5, 2013 16:22
-
-
Save benaneesh/5935647 to your computer and use it in GitHub Desktop.
settings for better rails console
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
# make sure you git pull and bundle before this | |
# save in ~/.irbrc (make a new one if it doesnt exist) | |
if ENV['RAILS_ENV'] | |
require 'rubygems' | |
require 'hirb' | |
require 'wirble' | |
require "pp" | |
IRB.conf[:BACK_TRACE_LIMIT] = 0 | |
Wirble.init | |
Wirble.colorize | |
Hirb.enable | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment