From 2a2d1d50d3ebe1b2b2435317d9ee63e7c0c94b5e Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 14 Aug 2024 15:36:09 +0100 Subject: [PATCH] Add debug gem This is included in new rails 7+ apps, so let's include it too. This also means it's available on ruby 3.0, and is automatically updated on newer versions of ruby too. --- Gemfile | 3 +++ Gemfile.lock | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/Gemfile b/Gemfile index fcf2ceb4d..dcdfbe27e 100644 --- a/Gemfile +++ b/Gemfile @@ -180,4 +180,7 @@ end group :development, :test do gem "annotate" + + # See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem + gem "debug", :require => "debug/prelude" end diff --git a/Gemfile.lock b/Gemfile.lock index 4cb7d0729..e7ec71569 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -170,6 +170,9 @@ GEM sprockets-rails tilt date (3.3.4) + debug (1.9.2) + irb (~> 1.10) + reline (>= 0.3.8) debug_inspector (1.2.0) deep_merge (1.2.2) delayed_job (4.1.11) @@ -627,6 +630,7 @@ DEPENDENCIES connection_pool dalli dartsass-sprockets + debug debug_inspector delayed_job_active_record doorkeeper -- 2.39.5