Photo Paperclip::CommandNotFoundError

Hi all,

I am using paperclip plugin. when i am trying to upload photo i am getting this error " Photo Paperclip::CommandNotFoundError "

and i am getting this error on my server production mode. if i run on development mode on my server i can able to upload the pic. why this is happening i have no idea.

can any help me out.

Cheers,

Kp

Hi all,

       I am using paperclip plugin. when i am trying to upload photo i am
getting this error " Photo Paperclip::CommandNotFoundError "
and i am getting this error on my server production mode. if i run on
development mode on my server i can able to upload the pic. why this is
happening i have no idea.
can any help me out.

Have you remembered to install everything that paperclip needs on the
server? If you think you have then post the full message here.

Colin

Since it works on the server if he switches the environment, I think he has installed everything. Are you running both as the second user? Probably the user running the prod environment hasn’t set his paths correctly.

Since it works on the server if he switches the environment, I think he has
installed everything. Are you running both as the second user? Probably the
user running the prod environment hasn't set his paths correctly.

You are likely correct. I mis-read the question.

Colin

i have changed the file permissions and it worked for me . i dont know whether it is the way to solve it . as i it is a plugin no other gems need i hope i am right. what is the best way to solve such issues. i worked for me by changing the file permissions of the folder but it is not the write way hope .

i have changed the file permissions and it worked for me . i dont know
whether it is the way to solve it . as i it is a plugin no other gems need i
hope i am right. what is the best way to solve such issues. i worked for me
by changing the file permissions of the folder but it is not the write way
hope .

Since you have not told us which folder and what changes you have made
to the permissions it is not easy for us to determine whether that is
the best solution.

Colin

well i have gave permission to public/system/students all those folder to 777 permissions and i have restart my server and it worked .