From: Vidar Hokstad Date: 2008-04-09T18:35:05+09:00 Subject: Re: Building ruby On Apr 9, 1:25 am, Jon Rust wrote: >irb(main):001:0> require 'socket' > LoadError: no such file to load -- socket >         from (irb):1:in `require' >         from (irb):1 > > I see in the console from 'make' that socket was built cleanly. And it's > in the lib directory: > >   lib/ruby/1.8/i686-linux/socket.so > It may be a path issue. "strace" in a shell is your friend. Run "strace ruby yourscript.rb 2>&1 | grep socket | more". It'll how you what files/directories your new Ruby interpreter actually tries loading the socket extension from. (strace shows you what system calls your app calls - it's very flexible, and well worth learning how to use) Vidar