Skip to content

Commit d5504cb

Browse files
committed
Set up ruby/debug in place of byebug for dev and test
1 parent 6e4f77c commit d5504cb

File tree

5 files changed

+15
-5
lines changed

5 files changed

+15
-5
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
11
*.gem
2-
.byebug_history

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ source "https://rubygems.org"
33
gemspec
44

55
gem "rake"
6-
gem "byebug"
6+
gem "debug", ">= 1.0.0"

Gemfile.lock

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,20 @@ GEM
6969
tzinfo (~> 2.0)
7070
zeitwerk (~> 2.3)
7171
builder (3.2.4)
72-
byebug (11.1.3)
7372
concurrent-ruby (1.1.8)
7473
connection_pool (2.4.1)
7574
crass (1.0.6)
75+
debug (1.8.0)
76+
irb (>= 1.5.0)
77+
reline (>= 0.3.1)
7678
erubi (1.10.0)
7779
globalid (0.4.2)
7880
activesupport (>= 4.2.0)
7981
i18n (1.8.10)
8082
concurrent-ruby (~> 1.0)
83+
io-console (0.6.0)
84+
irb (1.7.1)
85+
reline (>= 0.3.0)
8186
loofah (2.9.0)
8287
crass (~> 1.0.2)
8388
nokogiri (>= 1.5.9)
@@ -131,6 +136,8 @@ GEM
131136
redis-client (>= 0.9.0)
132137
redis-client (0.14.1)
133138
connection_pool
139+
reline (0.3.6)
140+
io-console (~> 0.5)
134141
sprockets (4.0.2)
135142
concurrent-ruby (~> 1.0)
136143
rack (> 1, < 3)
@@ -152,7 +159,7 @@ PLATFORMS
152159
x86_64-darwin
153160

154161
DEPENDENCIES
155-
byebug
162+
debug (>= 1.0.0)
156163
kredis!
157164
rails (>= 6.0.0)
158165
rake

bin/console

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@ require "bundler/inline"
55

66
gemfile do
77
source "https://rubygems.org"
8+
9+
gem "debug", ">= 1.0.0"
10+
811
gem "kredis", path: "../"
912
end
1013

14+
require "debug"
1115

1216
Kredis.configurator = Class.new { def config_for(name) { db: "2" } end }.new
1317
ActiveSupport::LogSubscriber.logger = ActiveSupport::Logger.new(STDOUT)

test/test_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
require "active_support/test_case"
33
require "active_support/testing/autorun"
44
require "minitest/mock"
5-
require "byebug"
5+
require "debug"
66

77
require "kredis"
88

0 commit comments

Comments
 (0)