Commit f4834d66 by Jon Yurek

Removed ActiveSupport req from deprecation

parent f78528a7
......@@ -67,9 +67,7 @@ module Paperclip
def path_for_command command #:nodoc:
if options[:image_magick_path]
ActiveSupport::Deprecation.warn(":image_magick_path is deprecated and "+
"will be removed. Use :command_path "+
"instead")
warn("[DEPRECATION] :image_magick_path is deprecated and will be removed. Use :command_path instead")
end
path = [options[:command_path] || options[:image_magick_path], command].compact
File.join(*path)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment