From: Pen Ttt Date: 2010-07-20T14:00:57+09:00 Subject: how to judge web exists or not with open-uri? would you mind to tell me how to fix it, to make the following program to run? require 'rubygems' require 'open-uri' url="www.123.com" open(url){|file| if url don't exists then puts "url don't exists" else puts "url exists"} thiks -- Posted via http://www.ruby-forum.com/.