[ruby-talk:02561] Re: frozen behavior

From: Dave Thomas <Dave@...>
Date: 2000-04-21 16:18:35 UTC
List: ruby-talk #2561
mengx@nielsenmedia.com writes:

> > You can call GC.disable
> 
> This is what I have been doing.  I feel it more flexible to use
> interpreter switch than put it in the code. I assumed it was not too
> difficult to implement

This is untested, but how about a shell script which does something like:

  ruby -w -e "GC.diable; load \"$1\""


Just as a matter of interest, why do you want to run with GC disabled?


Dave

In This Thread

Prev Next