T
Tuan Bui
Howdy,
Where does $: get its values from? The book says that it contains an
array of places to search for loaded files and that it is "initialized
to the list of standard directories, plus any additional ones you
specify using RUBYLIB and -I." Where does ruby get these standard
directories? I realize that I can set up RUBYLIB in my environment if I
want to search directories I specify, but I am mystified as to the
origin of the directories originally in $: . Any help would be welcome.
Thanks,
Tuan
Where does $: get its values from? The book says that it contains an
array of places to search for loaded files and that it is "initialized
to the list of standard directories, plus any additional ones you
specify using RUBYLIB and -I." Where does ruby get these standard
directories? I realize that I can set up RUBYLIB in my environment if I
want to search directories I specify, but I am mystified as to the
origin of the directories originally in $: . Any help would be welcome.
Thanks,
Tuan