Skip to content

Instantly share code, notes, and snippets.

@benaneesh
Created July 5, 2013 16:22
Show Gist options
  • Save benaneesh/5935647 to your computer and use it in GitHub Desktop.
Save benaneesh/5935647 to your computer and use it in GitHub Desktop.
settings for better rails console
# 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