Newbie Rails coder here.... spent way too much time trying to figure this one out any ideas?
The following script works on my dev machine but fails in production. After this script fails - when I check /tmp folder the "mini_magick20130627-17452-1k48fim.png" file is actually there. ImageMagick convert and resize also works as expected from the command line.
## resize screenshot
## wrapper for imagemagick
require 'mini_magick'
webthumb = MiniMagick::Image.open(thumbnail_image_path)
webthumb.crop('1024x768+0+0') # width, height, top, left
webthumb.resize('250x188') # width, height
# If you want to save this image use following
webthumb.write(thumbnail_image_path)
Errno::ENOENT in SitesController#create
No such file or directory - identify -quiet -ping /tmp/mini_magick20130627-17452-1k48fim.png