On Apr 9, 1:25=A0am, Jon Rust <wonderdog+rt... / gmail.com> wrote:
>irb(main):001:0> require 'socket'
> LoadError: no such file to load -- socket
> =A0 =A0 =A0 =A0 from (irb):1:in `require'
> =A0 =A0 =A0 =A0 from (irb):1
>
> I see in the console from 'make' that socket was built cleanly. And it's
> in the lib directory:
>
> =A0 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