Victor Soich wrote:
> but instead got the following extensive output:

> /usr/local/lib/ruby/1.8/net/protocol.rb:21:in `require': no such file
> to load -- socket (LoadError)
>         from /usr/local/lib/ruby/1.8/net/protocol.rb:21

protocol.rb is requiring 'socket'. Usually you'll have a file socket.so 
under /usr/local/lib/ruby/1.8/[host-arch]

where [host-arch] is a directory name for your system architecture, eg: 
i368-linux or x86_64-linux

You say you installed ruby in /home/vsoich/ruby-1.8.6, so, perhaps the 
socket.so shared lib got placed relative to there instead of in 
/usr/local/lib/ruby/1.8/.  You may need to add a directory to 
environment variable RUBYLIB to let ruby find your local ruby libraries.

--
Devin Ben-Hur  503/860-4114  mailto:[EMAIL PROTECTED]

"Startups are basically comedies, or at least seem so in retrospect."
   -- Paul Graham


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.467 / Virus Database: 269.6.6/794 - Release Date: 5/8/2007 2:23 PM

_______________________________________________
PDXRuby mailing list
[email protected]
IRC: #pdx.rb on irc.freenode.net
http://lists.pdxruby.org/mailman/listinfo/pdxruby

Reply via email to