From: "Ara.T.Howard" Date: 2005-10-01T03:10:14+09:00 Subject: Re: Apache 2 & global variables question On Sat, 1 Oct 2005, Pascal Meunier wrote: > I tried reducing the scripts as you suggested, but here's what happens. > Almost any change I make to the script removes the error "string contains > null byte (ArgumentError)". Irrelevant changes in the main script, long > after all the load statements, make the load error go away. If I change the > first line to "#!/usr/bin/ruby", removing the "-w" option, the *error* (not > a warning) goes away. How could not printing warnings remove an error? The > error doesn't happen if I build up an example from scratch, instead of > reducing, until I have the same script again. I have many other scripts > doing similar load operations using $load_path without errors, at the very > time this script fails. My head hurts. > > I am hesitant to post all the scripts involved because there are a lot. > Perhaps I could email them directly to you or anyone interested to avoid > generating too much noise on this list. Such a peculiar and brittle > situation is probably not of interest to many. post them online perhaps - the more eyes the better. regards. -a -- =============================================================================== | email :: ara [dot] t [dot] howard [at] noaa [dot] gov | phone :: 303.497.6469 | Your life dwells amoung the causes of death | Like a lamp standing in a strong breeze. --Nagarjuna ===============================================================================