How to disable Ruby “Insecure world writable dir” warnings
In your ruby script, start with this line:
#! /usr/bin/ruby -W0
Don’t even think of lecturing me on the wisdom of this. Sometimes I just want to write one-off scripts and have them read files from globally writable directories.
March 13th, 2008 at 3:44 pm
I won’t lecture you, because ruby doesn’t check if +t is set and warns you even in secure cases.