EGOPOLY

Topics include: programming, Apple, Unix, gadgets, large-scale web sites and other nerdy stuff.

How to disable Ruby "Insecure world writable dir" warnings

2007-01-10 14:56:45

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.