From: Kent Dahl Date: 2001-12-09T02:17:16+09:00 Subject: [ruby-talk:27947] Re: Statically linked extensions and deferred initialization. ts wrote: > No, no it was ruby-1.6.5 Wierd. But this still happens with the unmodified 1.6.5 for me. [kentda@v128a kentda]$ /usr/local/bin/ruby -e "puts $LOAD_PATH" [kentda@v128a kentda]$ /usr/local/bin/ruby -e "puts $:" /usr/local/lib/ruby/site_ruby/1.6 /usr/local/lib/ruby/site_ruby/1.6/i686-linux /usr/local/lib/ruby/site_ruby /usr/local/lib/ruby/1.6 /usr/local/lib/ruby/1.6/i686-linux .. [kentda@v128a kentda]$ /usr/local/bin/ruby -v ruby 1.6.5 (2001-09-19) [i686-linux] Even thou these should just be aliases, according to the eval.c source. void Init_load() { rb_load_path = rb_ary_new(); rb_define_readonly_variable("$:", &rb_load_path); rb_define_readonly_variable("$-I", &rb_load_path); rb_define_readonly_variable("$LOAD_PATH", &rb_load_path); I haven't messed around with the source of my main desktop installation, so I don't have a patch for you. -- <[ Kent Dahl ]>================<[ http://www.stud.ntnu.no/~kentda/ ]> )____(stud.techn.;ind.�k.data)||(softwareDeveloper.at(Trustix))_( /"Opinions expressed are mine and not those of my Employer, "\ ( "the University, my girlfriend, stray cats, banana fruitflies, " ) \"nor the frontal lobe of my left cerebral hemisphere. "/