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

On 27 October 2012 11:00, keerthi priya [email protected]
wrote:

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.
Am 27.10.2012 12:18 schrieb “Colin L.” [email protected]:

On 27 October 2012 16:46, Norbert M. [email protected] wrote:

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

On 30 October 2012 06:42, keerthi priya [email protected]
wrote:

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 .

Hi all,
I had the same issue and i lost one week searching for the answer, and
yestarday hahaha, I finally found it, you have to install the cocaine
gem
version 0.3.2

El sbado, 27 de octubre de 2012 07:00:50 UTC-3, keerthi priya escribi:

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 .