Ask A Question

Notifications

You’re not receiving notifications from this thread.

Issues with paperclip gem on Windows 8

Harshabab Singh asked in Rails

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**.

or 

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

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

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

Reply

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

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 86,946+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.