Skip to main content

Issues with paperclip gem on Windows 8

Rails • Asked by Harshabab Singh

Hi, i am new to rails(using Windows 8, rails v = 5.1.4 & ruby v= 2.2.6) and i am having issues with image uploading using paperclip gem, i saw the documentation on github & manually installed file.exe, and also installed imageMagick and added the following lines of code in my config\environments\development.rb file

Paperclip.options[:command_path] = 'C:\Program Files (x86)\GnuWin32\bin'
Paperclip.options[:command_path] = 'C:\Program Files\ImageMagick-7.0.7-8-Q16'

but still i get these 2 errors:

**has contents that are not what they are reported to be**.


** Paperclip::Errors::NotIdentifiedByImageMagickError.**

 Please can anyone guide step by step me how to use paperclip gem on windows platform.

Is very hard to use win with rails. You better move to linux or OS so you dont get so much headache.

Do not use windows for developement with rails , you will come across lot of errors as you move on.

Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 27,623+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.