A. Leek wrote:
> 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.

Ah, I think I see a potential problem. It's actually a pretty common 
thing in Windows development using Perl, Ruby etc. When you're using the 
shell Windows will handle the PATH including "Program Files" as 
"Program\ Files" without you having to do anything. When Paperclip tries 
to run the command through Ruby your request gets broken up at the space 
between "Program Files", and it is shown as two different commands:

C:\Program
Files\ImageMagick\imagemagick.exe

Or something to that effect. If it isn't happening with Program Files it 
could just as easily by happening with your temporary content, which 
also has a space in the path:

identify C:\Local
Settings\Temp\crazyfilename,0,1.jpg

> 
> 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.

Stick with it, in the end it really does make things easier. Keep in 
mind that all of these libraries aren't developed with WIndows in mind 
and you'll really have to compensate. If possible pretend your system is 
*nix, keep your installs in C:\lib or C:\bin and remove the path issues.
-- 
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 rubyonrails-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to