refinerycms image not loading - dragonfly error

前端 未结 4 577
花落未央
花落未央 2021-01-12 06:57

I\'m working on developing a refinerycms rails app that was working good locally and now i\'ve moved it to my VPS and I was having issues with images that i uploaded through

4条回答
  •  不思量自难忘°
    2021-01-12 07:29

    You may have to provide the full path to convert:

    config/initializers/dragonfly.rb:
    
    app.configure do |c|
      c.convert_command = "/usr/bin/convert"
    end
    

    Change /usr/bin/convert to the correct path to convert, which you can find out by running whereis convert on your VPS shell.

    More details in the documentation.

提交回复
热议问题