1
0
Fork 0
mirror of https://github.com/pry/pry-rails.git synced 2022-11-09 12:36:03 -05:00
Rails >= 3 pry initializer
Find a file
Robin Wenglewski 24f085028a Merge pull request #7 from haihappen/master
Added GitHub page as homepage, otherwise RubyGems.org doesn't provide…
2012-01-12 04:08:08 -08:00
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.