Forum: Mongrel Vlad the Deployer: Problems with Paths

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
244e8255ac42369ea9a678435eed5d45?d=identicon&s=25 Jonathan McCoy (jonjon)
on 2008-06-27 18:04

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

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?!!?

244e8255ac42369ea9a678435eed5d45?d=identicon&s=25 Jonathan McCoy (jonjon)
on 2008-06-29 14:43

Found some solutions in case anybody is interested:

Earlier threads (May):

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

This topic is locked and can not be replied to.