Paperclip problem

Hello,

I have a slightly weird problem of paperclip challenging currently.

I have installed image magick using “ImageMagick-6.5.4-10-Q16-windows-
dll.exe”. The paperclip.rb initializer is also present in the
initializers folder. It contains the path as -
Paperclip.options[:command_path] = ‘C:\Program Files\ImageMagick-6.5.4-
Q16’

The development.rb file contains the path as -
Paperclip.options[:command_path]="/usr/bin"

The image magick path is set alright in the PATH environment variable.
Cross checked with echo %PATH% on the command prompt.

Now what’s happening is on one computer of mine, where I did the
developement, the uploading of images works like nobody’s business.
But, when I took the application to test on a different computer,
where I have set everything just as mentioned above, I get this weird
error which says.

Photo /stream… is not recognized by the identify command. Image
upload fails.

Some surfing on this has taken me to setting the path in
development.rb to /usr/local/bin. But, even this did not work.

Request your kind help/pointers to solve this.

Thank you in advance for any help.

love-n-peace,
@shaan
‘Aal izz well’ :slight_smile:

Hello All,

Some additional information about the test computer on which it did
not work.

The observation is that it does work sometimes. But, the strange thing
is why ‘sometimes’?

Definitely it doesn’t seem to be the paperclip path issue; otherwise
it would never have worked at all.

Now some observations about the two computers -

Computer (where it works everytime) - has MS .Net framework 2.0 SP2,
MS .Net framework 3.0 SP2, MS .Net framework 3.5 SP1 installed.

The test computer (where it doesn’t work) - does not have these
frameworks installed.

Request to share some pointers or guidance on this. Presently, I do
not have any string further.

Do these frameworks at all have anything to do with this?

love-n-peace,
@shaan
‘Aal izz well’ :slight_smile:

I am just unable to run, even though it seems everything is configured
(just like you have it).

Were you able to resolve this problem??

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs