From: Robert Klemme Date: 2005-09-12T20:11:32+09:00 Subject: Re: detaching required scripts MiG wrote: > Hello, > > I was trying to remove required script (plugin) from memory via > remove_const. > It works fine but after that the require method doesn't require the > script again. > It's because or $" array which contains already required file names. > > Unfortunately the $" variable is read-only so I have to You cannot assign $" but you can change the array: 13:08:03 [~]: ruby -r socket -e 'p $";$".delete "socket.so"; p $"' ["socket.so"] [] Kind regards robert