Module: Paperclip::Commands::Runner
Instance Method Summary collapse
Instance Method Details
#run(command, path = nil, arguments = nil, interpolation_values = {}, local_options = {}) ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'lib/paperclip/commands/runner.rb', line 8 def run(command, path = nil, arguments = nil, interpolation_values = {}, = {}) if Paperclip.logging? && (Paperclip.[:log_command] || [:log_command]) = .merge(logger: Paperclip.logger) end binary = resolve_binary(command, path) Terrapin::CommandLine.new(binary, arguments, ) .run(interpolation_values) end |