I''m following this tutorial: http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails/ When it comes to running the application, I get the following errors: -Photo C:/Users/ABDER-~1/AppData/Local/Temp/stream,2396,0.jpg is not recognized by the ''identify'' command. -Photo C:/Users/ABDER-~1/AppData/Local/Temp/stream,2396,0.jpg is not recognized by the ''identify'' command. Why is that? Thanks. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Abder-Rahman Ali wrote:> 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/c69df6fbeb0ba30dI ''followed'' the issue ---> I solved the issue ;-) -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
install imagemagick if you are in windows there is a problem with the command paperclip user since it call the shell as if is a linux shell and you get that errot try upgrading paperclip if it still not working , reply with a bit more info. but is mainly a problem with imagemagick On Sat, Sep 11, 2010 at 9:21 AM, Abder-Rahman Ali <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>wrote:> Abder-Rahman Ali wrote: > > 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 > > I ''followed'' the issue ---> I solved the issue ;-) > -- > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Thanks @radhames. As yo cn see I have included a workaround to be working for the mean while. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.