[REBOL] Re: REBOL_HOME
From: mumpsoid:gmx at: 31-Mar-2009 5:35
On Tue, 31 Mar 2009, Anton Rolls wrote:
> Hi,
>
> Not sure if this helps, but here are some things I did.
>
> On linux, the VIEW-ROOT setting seems to be hardcoded in the
> rebol binary to ~/.rebol/view/
>
> I wanted to locate all my rebol scripts in ~/dev/rebol/view/, so
> I symlinked ~/.rebol -> ~/dev/rebol in my home directory, like so:
>
> ln -s dev/rebol/ .rebol
>
> I also have this line in my user.r
>
> if system/options/home = %/home/anton/ [ ; as on linux
> system/options/home: %/home/anton/dev/rebol/view/
> ]
>
> When you start rebol, check the following values in the console
> to see if everything looks right:
>
> view-root
> system/options/home
> system/options/path
> system/options/boot
> what-dir <-- Returns current directory. Affected by CHANGE-DIR
>
> Regards,
> Anton.
>
> mumpsoid-gmx.com wrote:
> > I set the REBOL_HOME env. var. to point to $HOME/rebol where I want
> > all my REBOL scripts scripts to live. Either the interpreter does not
> > recognize this env. var. or I'm missing something, cuz when I do:
> >
> > load %blah.r => no joy
> > load rebol/%blah.r => no joy
> >
> > Do I need to specify the complete path for REBOL to find files?
> > Anybody else having issues with REBOL_HOME?
>
Thank you, Anton. Thanks to good-old-*nix, the above is a suitable
work-around. Much appreciated.
--
Duke Normandin
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?