From 037b975525ebfb37a189f05f04fffd66b7b08bb3 Mon Sep 17 00:00:00 2001 From: aboutqx <1004945442@qq.com> Date: Mon, 31 Oct 2016 16:11:34 +0800 Subject: [PATCH] Update processor.rb --- lib/paperclip/processor.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/paperclip/processor.rb b/lib/paperclip/processor.rb index d89079b18..4db1312c4 100644 --- a/lib/paperclip/processor.rb +++ b/lib/paperclip/processor.rb @@ -37,7 +37,7 @@ def self.make file, options = {}, attachment = nil # The convert method runs the convert binary with the provided arguments. # See Paperclip.run for the available options. def convert(arguments = "", local_options = {}) - Paperclip.run(Gem.win_platform?"magick convert":"convert", arguments, local_options) + Paperclip.run(Gem.win_platform ? "magick convert" : "convert", arguments, local_options) end # The identify method runs the identify binary with the provided arguments.