I followed the issue following this:
I just needed to replace the "'#{m}'" with "\"#{m}
\"" in the quote_command_options method.
def quote_command_options(*options)
options.map do |option|
option.split("'").map{|m| "\"#{m}\"" }.join("\\'")
end
end
From:
http://groups.google.com/group/paperclip-plugin/browse_thread/thread/c69df6fbeb0ba30d
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.