From: Timothy Hunter Date: 2006-02-12T02:28:23+09:00 Subject: Re: Determining system information John Maclean wrote: > Chaps, > > Running ENV in irb displays the system's environment. I've tried the > same thing in a script. What's missing here? > > #!/usr/bin/ruby -w > stuff = %w{ENV RUBY_VERSION RUBY_RELEASE_DATE RUBY_PLATFORM VERSION} > stuff.each{|foo| foo} > irb is helping you out a bit. In a script, try puts ENV.inspect