Required modules in OS X; irb; socket.bundle

Thanks to Robert O.

The bundle was in /usr/local/lib/ruby/1.8/powerpc-darwin6.6, as you said,
but my attempt to run irb produced the following. I’m afraid I don’t know
what kconv is, or how to procede.

[PALMERS:ruby/1.8/irb] gary% irb
/usr/lib/ruby/1.8/irb/locale.rb:33: No such file to load – kconv
(LoadError)
from /usr/lib/ruby/1.8/irb.rb:21:in require' from /usr/lib/ruby/1.8/irb.rb:21 from /usr/bin/irb:10:in require’
from /usr/bin/irb:10

  cc:
  bcc:

Ollivier Robert roberto@REMOVETHIS.eu.org

10/10/2003 05:18 PM ZE2

[courtesy cc of this posting sent to cited author via email]

In article 3AC55277-FAB6-11D7-9900-000A956D2FA8@ccmail.nevada.edu,

sure, but I believe I got the tar file from ruby-lang.org. From a look
at the socket folder (see below), it appears that socket.c is
compiling, but not linking. I don’t really know where it is supposed to

It has been linked in the socket.bundle file. That is MacOS X equivalent of
a shared library. You should be able to find it in
/usr/local/lib/ruby/1.8/powerpc-darwin.

Running irb should show you whether it work or not:

213 [17:18] roberto@snuadh:Ruby/eproject> irb
irb(main):001:0> require “socket”
=> true

···

To: Gary Palmer gary.palmer@ccmail.nevada.edu
Subject: Re: required modules in OS X
Gary Palmer gary.palmer@ccmail.nevada.edu wrote:


Ollivier ROBERT -=- Eurocontrol EEC/AMI -=- roberto@eurocontrol.fr
Usenet Canal Historique FreeBSD: The Power to Serve!


This message and any files transmitted with it are legally privileged and
intended for the sole use of the individual(s) or entity to whom they are
addressed. If you are not the intended recipient, please notify the sender
by reply and delete the message and any attachments from your system. Any
unauthorised use or disclosure of the content of this message is strictly
prohibited and may be unlawful.

Nothing in this e-mail message amounts to a contractual or legal commitment
on the part of EUROCONTROL unless it is confirmed by appropriately signed
hard copy.

Any views expressed in this message are those of the sender.