From: Joe Swatosh Date: 2008-05-11T02:59:07+09:00 Subject: How to tell if script running under rubyw vs ruby? I spent some time poking around in Config, but so far this is the the only thing I've found that works: begin puts 'this is a test' # here is ruby rescue # here is rubyw end And I really don't love the side effect when using ruby. Please tell me there is a better way. Thanks, -- Joe Swatosh