[racket] -S / --search doesn't work on Windows?

From: Greg Hendershott (greghendershott at gmail.com)
Date: Tue Nov 30 11:56:48 EST 2010

Turns out on the Windows machine I had a PLTCOLLECTS environment
variable (I was under the impression I needed to set that for Quack).

Apparently if a PLTCOLLECTS env var exists, it causes -S / --search to
be ignored.

I'm not sure if that is as-intended. Anyway, I deleted PLTCOLLECTS.

On Tue, Nov 30, 2010 at 6:42 AM, Greg Hendershott
<greghendershott at gmail.com> wrote:
> It's not due to slash vs. backslash, or to the folder not existing.
>
> Even simpler example:
>
> c:\Users\Greg\>racket -S C:\Users\Greg -e (current-library-collection-paths)
> '(#<path:C:\Program Files (x86)\Racket\collects>)
>
> The path supplied by -S is still missing.
>
> On OS X it is included.
>
> On Tue, Nov 30, 2010 at 6:36 AM, Greg Hendershott
> <greghendershott at gmail.com> wrote:
>> Mac OS X:
>>
>> bash-3.2$ ./racket -S /Users/greg/.emacs.d/lisp/geiser/scheme/racket/
>> Welcome to Racket v5.0.
>>> (current-library-collection-paths)
>> '(#<path:/Users/greg/Library/Racket/5.0/collects>
>>  #<path:/Applications/Racket v5.0/collects>
>>  #<path:/Users/greg/.emacs.d/lisp/geiser/scheme/racket/>)
>>>
>>
>> Notice that the -S path is included.
>>
>>
>> Windows 7:
>>
>> c:> racket -S C:/Users/Greg/site/geiser/scheme/racket
>> Welcome to Racket v5.0.2
>>>(current-library-collection-paths)
>> '(#<path:C:\Program Files (x86)\Racket\collects>)
>>>
>>
>> Notice that the -S path isn't included.
>>
>> I'm pretty sure this was a problem in 5.0.0 on Windows, too.
>>
>


Posted on the users mailing list.