Add rbtrace gem

Sometimes my test process is stuck and I can't know why it's stuck if I can't observe it. I hope rbtrace will help me diagnose what's going wrong.
This commit is contained in:
Christophe Bliard
2024-07-17 15:00:58 +02:00
parent 4230e479ab
commit 3de7a24f81
2 changed files with 9 additions and 0 deletions
+3
View File
@@ -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"
+6
View File
@@ -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)