Skip to content

Instantly share code, notes, and snippets.

@gnepud
Created October 17, 2013 08:53
Show Gist options
  • Save gnepud/7021481 to your computer and use it in GitHub Desktop.
Save gnepud/7021481 to your computer and use it in GitHub Desktop.
if defined? Rails
$LOAD_PATH << "/Users/peng/.rvm/gems/ruby-1.9.3-p194@global/gems/awesome_print-1.1.0/lib"
end
begin
require 'awesome_print'
AwesomePrint.irb!
rescue LoadError
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment