# Vlad the Deployer: Problems with Paths

**URL:** <https://www.ruby-forum.com/t/vlad-the-deployer-problems-with-paths/141613>\
**Category:** Mongrel\
**Created:** [June 27, 2008, 6:04pm UTC](https://www.ruby-forum.com/t/vlad-the-deployer-problems-with-paths/141613 "2008-06-27T18:04:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jonathan2000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/fbc32d/32.png) [@jonathan2000](https://www.ruby-forum.com/u/jonathan2000)\
**Post date:** [June 27, 2008, 6:04pm UTC](https://www.ruby-forum.com/t/vlad-the-deployer-problems-with-paths/141613/1 "2008-06-27T18:04:05Z")

</div>

Hi,

Having difficulty with Vlad - it’s throwing a hissy-fit, claiming it  
can’t find Mongrel (it was SVN earlier…).

And interim solution (or “hack”) has been to put the full path to the  
app inside the deploy.rb, but now I’ve tried starting the app, it  
appears that mongrel is called by a wrapper, as the hack fails up to  
that point.

Target platform: Mac OS 10.4 (and 10.5) Server  
Path: /usr/local/bin and /usr/local/sbin in /etc/profile, /etc/bashrc,  
~/.profile and ~/.bashrc

Using Vlad’s remote invoker, the $PATH env is showing incomplete.  
Clearly, the way Vlad (or the library it’s using) is using SSH in some  
bizzare way, as the $SHELL env is showing up as /bin/sh, rather than  
bash.

I can’t find where the standard /bin:/sbin:/usr/bin:/usr/sbin paths are  
seeded in 10.4 - I thought it was /etc/profile, but since it’s missing  
half of the paths, I’m clearly wrong. With 10.5, it seems that  
/etc/paths and /etc/paths.d are how they’re now seeded, with  
/etc/profile also being used for overrides.

So, I’m between a rock and a hard place - I can’t find where or why the  
path is not being loaded correctly.

Any ideas folks?!!?

Thanks,  
Jon

---

<div class="post-metadata">

**Author:** ![jonathan2000](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/fbc32d/32.png) [@jonathan2000](https://www.ruby-forum.com/u/jonathan2000)\
**Post date:** [June 29, 2008, 2:43pm UTC](https://www.ruby-forum.com/t/vlad-the-deployer-problems-with-paths/141613/2 "2008-06-29T14:43:24Z")

</div>

Hey,

Found some solutions in case anybody is interested:

```
http://marc.info/?l=git&m=121378876831164&w=2

```

Earlier threads (May):

```
http://lists.apple.com/archives/macos-x-server/2008/May/msg00678.html
http://lists.apple.com/archives/macos-x-server/2008/Jun/msg00251.html

```

Appears this is OS X only, and related to non-interactive, no-login (key  
file) SSH sessions.

Jon.
