Hi Everyone,

I'm building a little test app here that validates a given URL. I made
a method outside of Shoes.app and it works fine, but when I try using
that method inside Shoes.app, I get some very strange behavior. Most
of the time it will give me this error in console:

Error in /Applications/Shoes.app/Contents/MacOS/ruby/lib/resolv-replace.rb
line 19
Connection refused - connect(2)

But if I wait about 10 minutes or so, and try it again. it will work
once, and then I must wait again another 10 minutes for it to work. I
don't see anything relative from when it works and when it doesn't. so
this is puzzling to me. I tried putting the method in class ::String
(instead of just class String), and i also tried using just a method
(no open class method), Same thing.

Here is the code: http://pastie.org/298055

Thanks in advance.

Reply via email to