spec/support/pry.rb in multi_mime-0.0.4 vs spec/support/pry.rb in multi_mime-1.0
- old
+ new
@@ -1,3 +1,6 @@
if defined?(RUBY_ENGINE) && RUBY_ENGINE == 'ruby'
- require 'pry' unless ENV['CI']
+ begin
+ require 'pry' unless ENV['CI']
+ rescue LoadError
+ end
end