From: Brian Candler Date: 2010-03-01T23:00:27+09:00 Subject: Re: No such file to load Error Nabs Kahn wrote: > When trying to run the following code I am getting an error which says > "no such file to load — open‐uri" ... > require 'open‐uri' Try just ruby -ropen-uri -e0 If that gives you the same error, then it looks like your ruby installation is broken or incomplete, since it's a standard part of the core library. $ ls -l /usr/lib/ruby/1.8/open-uri.rb -rw-r--r-- 1 root root 20982 2007-10-08 12:16 /usr/lib/ruby/1.8/open-uri.rb (This is under Ubuntu Linux rather than Mac, and the ruby version is 1.8.7p174, but open-uri.rb has been in ruby for years) Are you sure you haven't got something odd like an em-dash instead of a proper hyphen? -- Posted via http://www.ruby-forum.com/.