mirror of
https://github.com/pry/pry-rails.git
synced 2022-11-09 12:36:03 -05:00
Rails >= 3 pry initializer
lib | ||
.gitignore | ||
Gemfile | ||
pry-rails.gemspec | ||
Rakefile | ||
Readme.md |
Description
This is a small gem which causes rails console
to open pry. It therefore depends on pry and pry-doc.
Prerequisites
- A Rails >= 3.0 Application
Installation
Avoid repeating yourself, use pry-rails instead of copying the initializer to every rails project. Add this line to your gemfile:
gem 'pry-rails', :group => :development
bundle install
and enjoy pry.
Alternative
If you want to enable pry everywhere, make sure to check out pry everywhere.