On Sat, Oct 11, 2008 at 12:51 PM, Michael Moen
<[EMAIL PROTECTED]>wrote:


> Does anybody know where I would need to look to get the environment loaded
> when the builder is started?
>
> running rake cruise works fine and running ./cruise start all works fine.
>

Seems like ruby isn't on the path, but it's strange that cruise would start
in that case but your project would fail.

Is this only when it is run on system startup, or when you start it manually
from the local user as well?  If this is only on startup, it may be your
init script not setting up env right.  I did some work on the daemon script
in the ccrb source - it is debian-specific, but it should be easy to convert
to redhat/centos

http://github.com/thoughtworks/cruisecontrol.rb/tree/master/daemon

If this is happening when you run ./cruise manually from the local user,
that is a stranger problem.

If all else fails, debug by echoing out your system path and environment in
various places, that will probably get you closer to the cause.   If you
find out what is up with the path when your project runs, you can just
symlink ruby to wherever it needs to be in order to be found.

-- Chad
_______________________________________________
Cruisecontrolrb-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users

Reply via email to