From: Ariff Abdullah Date: 2002-09-27T09:44:58+09:00 Subject: Re: Ruby - common pitfalls? > > > Note that you get warnings for this when using ruby -w > > > > I know - but then the code already has been written. I think it > > just has to be mentioned, not changed. > > Agreed.. maybe the pitfall is not running with ruby -w during > development :) Simply win32: C:\> set RUBYOPT=w unix: sh# export RUBYOPT="w" or csh# setenv RUBYOPT "w" that will help you much, even without 'ruby -w' as it will magically set it all up for you