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.
|