Skip to content

Commit

Permalink
Add debug gem
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gravitystorm committed Aug 14, 2024
1 parent 735a5cf commit 2a2d1d5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -627,6 +630,7 @@ DEPENDENCIES
connection_pool
dalli
dartsass-sprockets
debug
debug_inspector
delayed_job_active_record
doorkeeper
Expand Down

0 comments on commit 2a2d1d5

Please sign in to comment.