Skip to content

Instantly share code, notes, and snippets.

@RafaelChefe
Created October 4, 2016 18:15
Show Gist options
  • Save RafaelChefe/5f4790e4f9f9d13707be1a2129bcad41 to your computer and use it in GitHub Desktop.
Save RafaelChefe/5f4790e4f9f9d13707be1a2129bcad41 to your computer and use it in GitHub Desktop.
Dir.glob('/usr/local/lib/pry/gems/*').each do |p|
$LOAD_PATH << File.join(p, 'lib')
end
require 'pry'
require 'awesome_print'
AwesomePrint.pry!
if defined?(Rails)
require 'pry-rails'
# se preferir pode mover o conteúdo do .pryrc para cá
end
Pry.start
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment