# Capistrano Error When deploying

**URL:** <https://www.ruby-forum.com/t/capistrano-error-when-deploying/83796>\
**Category:** Deployment\
**Created:** [January 29, 2007, 8:00pm UTC](https://www.ruby-forum.com/t/capistrano-error-when-deploying/83796 "2007-01-29T20:00:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nendee](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/a3d4f5/32.png) [@nendee](https://www.ruby-forum.com/u/nendee)\
**Post date:** [January 29, 2007, 8:00pm UTC](https://www.ruby-forum.com/t/capistrano-error-when-deploying/83796/1 "2007-01-29T20:00:15Z")

</div>

The remote command reaper isn’t working:

sudo: /www/myapp/current/script/process/reaper: command not found

I tried to just “run” reaper on the actual web server and i get the  
same command not found. I see a reaper file in the directory above -  
but it’s not runnable. Am I missing something?

---

<div class="post-metadata">

**Author:** ![nendee](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/a3d4f5/32.png) [@nendee](https://www.ruby-forum.com/u/nendee)\
**Post date:** [January 30, 2007, 6:11pm UTC](https://www.ruby-forum.com/t/capistrano-error-when-deploying/83796/2 "2007-01-30T18:11:20Z")

</div>

Perhaps it’s not executable?

One issue I had, early on, was files coming out of SCM that did not  
have the executable bit set. Thus I got “command not found” errors.

HTH,

Andy

---

<div class="post-metadata">

**Author:** ![nendee](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/a3d4f5/32.png) [@nendee](https://www.ruby-forum.com/u/nendee)\
**Post date:** [February 2, 2007, 4:59pm UTC](https://www.ruby-forum.com/t/capistrano-error-when-deploying/83796/3 "2007-02-02T16:59:49Z")

</div>

I am going to guess that sudo isnt installed on the server?

I just ran into this problem…seems like a no brainer that sudo  
should be installed, but it wasnt.
