diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index def396d8388..1199b2e67d9 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -11,6 +11,12 @@ require_relative 'core_ext/string' +begin + require 'pry' +rescue LoadError + # Pry is not activated. +end + # Require supporting files exposed for testing. require 'rubocop/rspec/support'