Ruby on Rails, Paperclip: “identify” command working in cmd but not in app

前端 未结 3 853

I\'ve installed ImageMagick on my Windows 7 64bit and I have the Paperclip Gem. My User model looks like this:

   class User < ActiveRecord::Base
  # Pape         


        
3条回答
  •  醉梦人生
    2021-01-03 10:33

    Updated the following in development.rb and it started working

    Paperclip.options[:command_path] = 'C:/Progra~1/ImageM~1.8-q'
    

    This was on a Windows 2008 32 Bit Server

提交回复
热议问题