All threads / Issues with paperclip gem on Windows 8

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.

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.

Join the discussion

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

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

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

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2020 GoRails, LLC. All rights reserved.