Pry with Byebug option

Add pry gems to your application
Icons/chart bar
Used 18 times
Created by
J Julian Rubisch

Usage

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

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

Review the code before running this template on your machine.

if yes?("Do you want pry-byebug, too?")
  gem_group :development, :test do 
    gem "pry-rails"
    gem "pry-byebug"
  end
else
  gem_group :development, :test do
    gem "pry-rails"
  end
end

run "bundle install"
Comments

Sign up or Login to leave a comment.