Parker Selbert wrote:
> There is a duality to Paperclip in that it is meant to process anything, 
> but the default processor (Thumbnail) is for images. I'm guessing the 
> versatility of it is why it doesn't do a hard check for ImageMagick 
> before it tries to process anything.
> 
> As far as the Paperclip Processor knows the command just fails, and 
> therefor processing fails, and therefore there is no image to link to. I 
> highly recommend writing a test that just checks that the path you're 
> using for ImageMagick exists. Something as simple as:
> 
> IMAGE_MAGICK_PATH = "/my/path/to/imagemagick"
> 
> def test_image_magick_is_installed
>   assert File.exist?(IMAGE_MAGICK_PATH)
> end
> 
> At least then you know that your install is working.

Well I tried that, and it comes back false... The error messages give 
the right path for ImageMagick, but they still fail on the identify 
command. I've tested "identify" from the command line, and it works 
fine. I'm pretty lost as to what to do now, Paperclip seems to 
understand there's ImageMagick in Program Files, they just don't want to 
talk to each other.

The images do get to a temp location in Local Settings\Temp, so some 
moving around is happening. Honestly, I'm just trying to get files 
uploaded in general, I'm only testing it on images because that's what 
all the guides are for and I wanted to have something working before I 
generalized. This is getting a lot more problematic than I expected. I 
guess the next thing to do is go to the Paperclip Google Group and see 
if they know anything.
-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to