[gobolinux-users] Errors running Freshen from some directories
Michael Homer
gobo-users-dufus at wotfun.com
Tue Jan 30 05:57:41 UTC 2007
On 1/30/07, Hi There <goboster at yahoo.com> wrote:
> >> Freshen (2.0) is giving me a bunch of errors when I
> >> run it from a root shell whose current directory is
> >> /System/Kernel/Devices but runs fine from /
> >"Don't do that then" is the phrase that springs to
> mind.
>
> Yeah, never sure if it's having any deleterious
> effects though.
No, it does nothing out of the ordinary.
> > It's ruby's doing; there's nothing I can do about
> it. The message
>
> There's nothing like try { } catch { } in Ruby so you
> can catch irrelevant errors and ignore them instead of
> having them flow all the way through to std error?
> That sucks.
There is, but not for these, since they're warnings rather than
Exceptions. You can disable warnings (ruby -W0), (so I guess that's
five workarounds, you can edit the shebang line to that), but I'd
rather not since they're useful in other cases.
> > occurs if you have a world-writable directory in
> your PATH; in this
> > case, . (which really shouldn't be there anyway).
>
> didn't realize I did. it's actually in there twice! I
> didn't set it though, I guess it's standard for a Gobo
> 013 install?
>
> I'd rather just remove . from PATH than mess with
> directory permissions. Any idea where it's set?
I imagine either in the Environment settings or in zprofile/zshrc. I
haven't got a recent Gobo around to look. If you can't find it, stick
this in your ~/.zshrc:
export PATH=${PATH//(.:|:.)/}
It'll replace every occurrence of .: or :. with an empty string and
set PATH to the result.
-Michael
More information about the gobolinux-users
mailing list