Skip to content

Instantly share code, notes, and snippets.

@ashirazi
Created July 19, 2012 18:54
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ashirazi/3145976 to your computer and use it in GitHub Desktop.
Save ashirazi/3145976 to your computer and use it in GitHub Desktop.
pry instead of irb (everywhere including 'bundle console', 'rails console', 'irb')
# put this in your ~/.irbrc
begin
require 'pry'
Pry.start
exit
rescue LoadError
puts "Pry not found, using 'irb' instead. Try\n gem install pry"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment