From 6527b86c7ca4c61d1f15e8cb544034bdace75e2c Mon Sep 17 00:00:00 2001 From: Masato Sugiyama Date: Tue, 12 Nov 2024 23:09:48 +0900 Subject: [PATCH 1/2] Remove outdated ruby-debug requirement --- test/test_helper.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/test/test_helper.rb b/test/test_helper.rb index 6f2e0649..1664a4fa 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -49,8 +49,6 @@ class ActiveRecord::ConnectionAdapters::Mysql2Adapter end end -require "ruby-debug" if RUBY_VERSION.to_f < 1.9 - adapter = ENV["ARE_DB"] || "sqlite3" FileUtils.mkdir_p 'log' From 5a57123cbe03879ffef9374573d1b3a99ff0b8be Mon Sep 17 00:00:00 2001 From: Masato Sugiyama Date: Tue, 12 Nov 2024 23:39:23 +0900 Subject: [PATCH 2/2] Remove ruby-debug gem for JRuby platform --- Gemfile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Gemfile b/Gemfile index 4338f338..43ec84dd 100644 --- a/Gemfile +++ b/Gemfile @@ -51,10 +51,6 @@ gem "chronic" gem "mocha", "~> 2.1.0" # Debugging -platforms :jruby do - gem "ruby-debug", "= 0.10.4" -end - platforms :ruby do gem "pry-byebug" gem "pry", "~> 0.14.0"