Skip to content

Instantly share code, notes, and snippets.

@hardbap
Created August 26, 2011 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hardbap/1173476 to your computer and use it in GitHub Desktop.
Save hardbap/1173476 to your computer and use it in GitHub Desktop.
Replace The Rails Console With Pry
# From Dan Watsons Coding Zen
# http://www.dotnetguy.co.uk/post/2011/08/23/replace-the-rails-console-with-pry
MyApp::Application.configure do
silence_warnings do
begin
require 'pry'
IRB = Pry
rescue LoadError
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment