[Mongrel] Vlad the Deployer: Problems with Paths
lists at ruby-forum.com
Fri Jun 27 12:04:05 EDT 2008
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
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?!!?
Posted via http://www.ruby-forum.com/.
More information about the Mongrel-users