-----BEGIN PGP SIGNED MESSAGE----- In article <MPG.17f4563457f8536d98969d / news.flashnet.it>, Overnight <NOSPAM_jazz_x / libero.it_NOSPAM> wrote: >> > Thanks. Wouldn't it be useful to have some special-name, autoloading >> > script? It would be the necessary starting point in defining a standard >> > for what happens at Ruby's startup time. >> What would the standard be for how installed ruby libraries insert code >> into this file? Why not just use BEGIN {} in the library code? > >Hi. > >BEGIN {} in library code would init the library for sure, but how would >the library be *automatically* loaded? > >Pythonistas in this newsgroup surely know about site.py, the special file >that Pythons looks for and loads at startup. At current time (and in the >ActiveState distro) it is used to standardize the addition of site- >specific dirs to Python's search path and the execution of a special >"sitecustomize" module. This is something more elaborate that adding - >r<something> to RUBYOPT. > - - GACK! Yet another reason why "Python is not for me". This is an awful idea from my point of view. - - Booker C. Bense -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQCVAwUBPYpe9mTWTAjn5N/lAQFr9gQAmkssTA2n+gwus4Tbym+yTSeIpR5njGhp t8S4omM+SaPC09cvdHdN4c8z4NFVn6uyH1tpKeU5gr1BUYzJP99eAvDyPXV+ZuoU LYsUdbxnRn+efX0yxFZCulir9R7qU0vOKir1k4NgbKRO6fFEY++HDVpLNSXHh65M HR/nkEtOgj4= =DPDD -----END PGP SIGNATURE-----