Save 36% for Black Friday! Learn more

Harshabab Singh

Joined

50 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in Issues with paperclip gem on Windows 8

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.