Skip to content

Commit

Permalink
Avoid using pry-byebug on legacy rubies
Browse files Browse the repository at this point in the history
We already have something similar on the `Gemfile` for the gem but did not copy it
to the integration apps.

Bundler on Ruby 2.2 gets confused sometimes and tries to install a
more modern `byebug`/`pry-byebug` than it should:
<https://app.circleci.com/pipelines/github/DataDog/dd-trace-rb/7563/workflows/84415e5e-c561-4312-8e18-ff4d59394471/jobs/280478>
  • Loading branch information
ivoanjo authored and lloeki committed Oct 26, 2022
1 parent fc1dc4b commit b366384
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion integration/apps/rack/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ else
end

# Development
gem 'pry-byebug'
gem 'pry-byebug' if RUBY_VERSION >= '2.3.0' && RUBY_ENGINE != 'truffleruby' && RUBY_VERSION < '3.2.0'
gem 'pry-nav' if RUBY_VERSION < '2.3.0'
# gem 'pry-stack_explorer', platform: :ruby
# gem 'rbtrace'
# gem 'ruby-prof'
Expand Down
1 change: 0 additions & 1 deletion integration/apps/rack/spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
require 'byebug'
require 'support/integration_helper'

RSpec.configure do |config|
Expand Down

0 comments on commit b366384

Please sign in to comment.