diff --git a/Gemfile b/Gemfile index 2596f59b236..694078956ad 100644 --- a/Gemfile +++ b/Gemfile @@ -319,6 +319,9 @@ group :development, :test do gem "ruby-prof", require: false gem "stackprof", require: false + # Output a stack trace anytime, useful when a process is stuck + gem "rbtrace" + # REPL with debug commands gem "debug" diff --git a/Gemfile.lock b/Gemfile.lock index 4927c3635b1..613a3bf4d5a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -786,6 +786,7 @@ GEM openssl (3.2.0) openssl-signature_algorithm (1.3.0) openssl (> 2.0) + optimist (3.1.0) os (1.1.4) ox (2.14.18) paper_trail (15.1.0) @@ -917,6 +918,10 @@ GEM rb-inotify (0.11.1) ffi (~> 1.0) rb_sys (0.9.97) + rbtrace (0.5.1) + ffi (>= 1.0.6) + msgpack (>= 0.4.3) + optimist (>= 3.0.0) rbtree3 (0.7.1) rdoc (6.7.0) psych (>= 4.0.0) @@ -1300,6 +1305,7 @@ DEPENDENCIES rails (~> 7.1.3) rails-controller-testing (~> 1.0.2) rails-i18n (~> 7.0.0) + rbtrace rdoc (>= 2.4.2) redis (~> 5.2.0) request_store (~> 1.7.0)