test/helper.rb in paperclip-3.5.1 vs test/helper.rb in paperclip-3.5.2
- old
+ new
@@ -11,10 +11,15 @@
require 'bourne'
require 'shoulda/context'
require 'mime/types'
require 'pathname'
require 'ostruct'
-require 'pry'
+
+begin
+ require 'pry'
+rescue LoadError
+ # Pry is not available, just ignore.
+end
puts "Testing against version #{ActiveRecord::VERSION::STRING}"
`ruby -e 'exit 0'` # Prime $? with a value.