From: James Edward Gray II Date: 2007-09-11T06:19:06+09:00 Subject: Re: Is this expected behavior? On Sep 10, 2007, at 4:03 PM, Nobuyoshi Nakada wrote: > Hi, > > At Tue, 11 Sep 2007 02:16:59 +0900, > James Edward Gray II wrote in [ruby-core:12118]: >> As part of TextMate's development process we have an application on a >> (password protected) network mounted disk. This causes Ruby to issue >> many warnings about world writable directories do to everything >> having pseudo +w permissions. > > What's the platform? Mac OS X. >> We tried to set RUBYOPT as a workaround, and found this: >> >> $ RUBYOPT=-W0 ruby -e 'puts "Oops"' >> ruby: illegal switch in RUBYOPT: -W (RuntimeError) >> >> Is this expected behavior? > > The check for RUBYOPT might be forgotten when -W was added. I > don't see enough reasons not to allow it, as far as -w is > allowed. Great. It sure would be cool if we could add it. James Edward Gray II