Skip to content

Instantly share code, notes, and snippets.

@MyArtChannel
Created April 25, 2011 20:42
Show Gist options
  • Star 34 You must be signed in to star a gist
  • Fork 8 You must be signed in to fork a gist
  • Save MyArtChannel/941174 to your computer and use it in GitHub Desktop.
Save MyArtChannel/941174 to your computer and use it in GitHub Desktop.
Use Pry as IRB replacement in rails 3 console
# Add this to the end of your development.rb and add
#
# gem 'pry'
#
# to your Gemfile and run bundle to install.
silence_warnings do
begin
require 'pry'
IRB = Pry
rescue LoadError
end
end
@grosser
Copy link

grosser commented Mar 28, 2012

@l0b0 see where reload! is defined and include this too or see what else gets included to irb

@lfender6445
Copy link

@13k thanks works great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment