Skip to content

Commit

Permalink
Use plain irb for debugging
Browse files Browse the repository at this point in the history
Development of pry has stalled and it is suggested that debug in
combination with irb is the future. For now, we cannot use debug yet
since only a very old version runs on Ruby 2.5.

For now, this change removes the pry, pry-doc, byebug and pry-byebug
dependencies. These can be added back via Gemfile.local.

Once support for Ruby 2.5 has been dropped, the new debug gem can be
added as a permanent dependency to provide extended debugging features
by default.
  • Loading branch information
mvz committed Jan 15, 2022
1 parent 212bfe5 commit b5d72be
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 18 deletions.
2 changes: 0 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,3 @@ if File.file? File.expand_path("Gemfile.local", __dir__)
load File.expand_path("Gemfile.local", __dir__)
end

gem "byebug", "~> 11.0", platform: :mri
gem "pry-byebug", "~> 3.4", platform: :mri
1 change: 0 additions & 1 deletion aruba.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "json", "~> 2.1"
spec.add_development_dependency "kramdown", "~> 2.1"
spec.add_development_dependency "minitest", "~> 5.10"
spec.add_development_dependency "pry-doc", "~> 1.0"
spec.add_development_dependency "rake", [">= 12.0", "< 14.0"]
spec.add_development_dependency "rake-manifest", "~> 0.2.0"
spec.add_development_dependency "rspec", "~> 3.10.0"
Expand Down
4 changes: 0 additions & 4 deletions fixtures/cli-app/script/console
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,5 @@ require "cli/app"
# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.

# (If you use this, don't forget to add pry to your Gemfile!)
# require "pry"
# Pry.start

require "irb"
IRB.start
2 changes: 0 additions & 2 deletions gemfiles/cucumber_4.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

source "https://rubygems.org"

gem "byebug", "~> 11.0", platform: :mri
gem "pry-byebug", "~> 3.4", platform: :mri
gem "cucumber", "~> 4.0"
gem "childprocess", "~> 2.0.0"

Expand Down
2 changes: 0 additions & 2 deletions gemfiles/cucumber_5.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

source "https://rubygems.org"

gem "byebug", "~> 11.0", platform: :mri
gem "pry-byebug", "~> 3.4", platform: :mri
gem "cucumber", "~> 5.0"
gem "childprocess", "~> 3.0.0"

Expand Down
2 changes: 0 additions & 2 deletions gemfiles/cucumber_6.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

source "https://rubygems.org"

gem "byebug", "~> 11.0", platform: :mri
gem "pry-byebug", "~> 3.4", platform: :mri
gem "cucumber", "~> 6.0"
gem "childprocess", "~> 4.0"

Expand Down
2 changes: 0 additions & 2 deletions gemfiles/cucumber_7.gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

source "https://rubygems.org"

gem "byebug", "~> 11.0", platform: :mri
gem "pry-byebug", "~> 3.4", platform: :mri
gem "cucumber", "~> 7.0"
gem "childprocess", "~> 4.0"

Expand Down
3 changes: 0 additions & 3 deletions spec/support/configs/pry.rb

This file was deleted.

0 comments on commit b5d72be

Please sign in to comment.