From: "Abraham Schneider" <aschneider@(email surpressed)> Subject: OS X: rushadmin: rush command not found? Date: Tue, 10 Apr 2007 06:56:49 -0400 |
Msg# 1528 View Complete Thread (2 articles) | All Threads Last Next |
Hi there! I have a strange behaviour on my newly installed Mac Pro:We installed rush as normal and it works just fine, irush, rushtop, everything except one thing: If I start rushadmin, edit something in a config file, save it and press "send" to push the file to all the other machines, I always get this error message: Executing: rush -push hosts, +any 2>&1 /bin/sh: line 1: rush: command not found -- DONE --And I just can't find out why. If I copy the command "rush -push hosts, +any 2>&1" to a new terminal window, it just works fine. Any idea where I have to set the PATH variable or something like this so that rushadmin also knows about the rush command? Thanks, Abraham ARRI Film & TV Services GmbH Sitz: München - Registergericht: Amtsgericht München - Handelsregisternummer: HRB 69396 Geschäftsführer: Franz Kraus |
From: Greg Ercolano <erco@(email surpressed)> Subject: Re: OS X: rushadmin: rush command not found? Date: Tue, 10 Apr 2007 16:55:47 -0400 |
Msg# 1529 View Complete Thread (2 articles) | All Threads Last Next |
Abraham Schneider wrote: If I start rushadmin, edit something in a config file, save it and press "send" to push the file to all the other machines, I always get this error message:Executing: rush -push hosts, +any 2>&1 /bin/sh: line 1: rush: command not found -- DONE --And I just can't find out why. If I copy the command "rush -push hosts, +any 2>&1" to a new terminal window, it just works fine. Yes, this was fixed in 102.42a7 (and up); from the release notes: --------------------------------------------------------------- > RUSHADMIN: o Fixed 'rush: command not found' error on OSX when rushadmin invoked from Finder. --------------------------------------------------------------- This would occur when rushadmin is invoked from the Finder or from a desktop alias/shortcut. Try running 'rushadmin' from the command line; that way the PATH environment will be passed from the shell on to rushadmin so that rushadmin can find the executable. In the fixed version, it automatically adds the /usr/local/rush/bin directory to rushadmin's PATH to ensure it is set. Offhand, I'm not sure where you can set the PATH variable so that it will affect programs invoked from the Finder. There's probably a wacky plist file or rc file somewhere that lets you do this.. not sure. When you have this problem, starting 'rushadmin' from the command line should solve it. |