Skip to content

Commit

Permalink
don't require pry-byebug on ruby -V >= 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ashishkeshan committed Jan 7, 2022
1 parent d729c0d commit 25a27b4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion spec/helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
require 'webmock/rspec'
require 'base64'
require 'jwt'
require 'pry-byebug'
# latest version of pry-byebug is not compatible with Ruby 3.2.0
if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('3.2.0')
require 'pry-byebug'
end

WebMock.disable_net_connect!()

Expand Down

0 comments on commit 25a27b4

Please sign in to comment.