Looking for 'un' library

Hi,

I recently installed Ruby 1.8.0 (Mandrake Linux).

I am now trying to install ruby-gnome2. However it fails with the
message:

ruby: no such file to load – un (LoadError)

After some head-scratching, it appears that I need the “un” library, as
the Makefile is doing:
ruby -run -e “…”

I can’t find any trace of this library anywhere, though. It’s not
mentioned in “Programming in Ruby”, not in the “Ruby Class and Library
Reference”, not on RAA, not on RubyForge. And unfortunately, it’s a
rather difficult term to run a google search on :frowning:

Can someone tell me where to find it, and how to install it?

Thanks,

Simon

Hi –

···

On Tue, 23 Sep 2003, Simon Kitching wrote:

Hi,

I recently installed Ruby 1.8.0 (Mandrake Linux).

I am now trying to install ruby-gnome2. However it fails with the
message:

ruby: no such file to load – un (LoadError)

After some head-scratching, it appears that I need the “un” library, as
the Makefile is doing:
ruby -run -e “…”

I can’t find any trace of this library anywhere, though. It’s not
mentioned in “Programming in Ruby”, not in the “Ruby Class and Library
Reference”, not on RAA, not on RubyForge. And unfortunately, it’s a
rather difficult term to run a google search on :frowning:

Can someone tell me where to find it, and how to install it?

un.rb comes with 1.8.0 (look in the lib subdirectory of the source).
Is it possible that your Makefile is somehow hitting an older version
of Ruby?

David


David Alan Black
home: dblack@superlink.net
work: blackdav@shu.edu
Web: http://pirate.shu.edu/~blackdav

Hi,

From: “Simon Kitching” simon@ecnetwork.co.nz
Sent: Tuesday, September 23, 2003 11:14 AM

Can someone tell me where to find it, and how to install it?

Here.
http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/lib/un.rb
Bundled in ruby/1.8 from preview6.

I recently installed Ruby 1.8.0 (Mandrake Linux).

I don’t know why you don’t have it…

Regards,
// NaHi

Yep, that was it exactly.
/usr/local/bin/ruby -v → 1.8.0
/usr/bin/ruby -v → 1.6.8

Thanks very much to you & Hiroshi for the quick reply.

I now have a GTK window up !! (ok, it’s empty, but it’s a start :slight_smile:

PS: it isn’t mentioned in the Ruby reference at
http://www.rubycentral.com/ref/
Shouldn’t it be in the “modules” section?

···

On Tue, 2003-09-23 at 14:20, dblack@superlink.net wrote:

After some head-scratching, it appears that I need the “un” library, as
the Makefile is doing:
ruby -run -e “…”

un.rb comes with 1.8.0 (look in the lib subdirectory of the source).
Is it possible that your Makefile is somehow hitting an older version
of Ruby?