Skip to content

Instantly share code, notes, and snippets.

@bsodmike
Forked from MyArtChannel/development.rb
Created August 29, 2011 08:14
Show Gist options
  • Save bsodmike/1177992 to your computer and use it in GitHub Desktop.
Save bsodmike/1177992 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment