lib/carrierwave/processing/rmagick.rb in carrierwave-0.10.0 vs lib/carrierwave/processing/rmagick.rb in carrierwave-0.11.0
- old
+ new
@@ -60,9 +60,11 @@
module RMagick
extend ActiveSupport::Concern
included do
begin
+ require "rmagick"
+ rescue LoadError
require "RMagick"
rescue LoadError => e
e.message << " (You may need to install the rmagick gem)"
raise e
end