Pry

Public
Pry is a runtime developer console and IRB alternative with powerful introspection capabilities. Pry aims to be more than an IRB replacement. It is an attempt to bring REPL driven programming to the Ruby language.
Icons/chart bar
Used 19 times
Created by
E Emanuele Bonanno

Usage

Run this command in your Rails app directory in the terminal:

rails app:template LOCATION="https://railsbytes.com/script/VMysM9"
Template Source

Review the code before running this template on your machine.

inject_into_file 'Gemfile', after: 'group :development, :test do' do
<<-RUBY
  gem "pry-rails"
  gem "pry"
RUBY
end
Comments

Sign up or Login to leave a comment.