Another mistake I made, this is the exception that actually gets raised 
with the following code:

"could not lookup DNS configuration info service: Permission denied
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/net/http.rb:560:in 
`initialize': getaddrinfo: nodename nor servname provided, or not known 
(hope:flowof.info robertgleeson$ SocketError)"


you will need to require 'open-uri' and 'net/http' _before_ you call 
Dia::Sandbox#run because require() will also fail under this sandbox.

-- 
Posted via http://www.ruby-forum.com/.