[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

where is $: defined?

Andreas S

1/17/2007 7:42:00 PM

I'm installing my own ruby but need to use the other gnu tools from my
co-worker, who has ruby too. I 'm doing this to try stuff first before I ask
him to install it in his ruby, which is our standard.

However, my ruby is picking up library from his ruby installation instead of
mine. I don't have any RUBY* environment variable, I don't find his path in
my ruby Makefile nor configuration.

I did:
configure --prefix=/login/asn
make
make install

I do have my co-worker bin directory in my $PATH (then I removed it
afterward). Could my ruby installation picked up the library location from
the existing ruby (my co-worker's)? How to tell it not to?

I know there are probably many variables that might have caused it, but if I
know how that $: is set, I thought it might help. What could have set $:
when I build my ruby?

I've spending hours already to sort this out without any luck.

-andre

_________________________________________________________________
Type your favorite song.  Get a customized station.  Try MSN Radio powered
by Pandora. http://radio.msn.com/?icid=T002M...


1 Answer

Jano Svitok

1/17/2007 8:35:00 PM

0

On 1/17/07, Andreas S <andreas_s@hotmail.com> wrote:
> I'm installing my own ruby but need to use the other gnu tools from my
> co-worker, who has ruby too. I 'm doing this to try stuff first before I ask
> him to install it in his ruby, which is our standard.
>
> However, my ruby is picking up library from his ruby installation instead of
> mine. I don't have any RUBY* environment variable, I don't find his path in
> my ruby Makefile nor configuration.
>
> I did:
> configure --prefix=/login/asn
> make
> make install
>
> I do have my co-worker bin directory in my $PATH (then I removed it
> afterward). Could my ruby installation picked up the library location from
> the existing ruby (my co-worker's)? How to tell it not to?
>
> I know there are probably many variables that might have caused it, but if I
> know how that $: is set, I thought it might help. What could have set $:
> when I build my ruby?
>
> I've spending hours already to sort this out without any luck.

I suppose the default is compiled-in (the configure --something should
be the right path)
Note that this is just a hint, I'm not sure nor I have checked that.