I just installer ruby-gettext-1.0.0, and tried the sample : /usr/lib/ruby/gems/1.8/gems/gettext-1.0.0/samples/hello.rb : <code> #!/usr/bin/ruby # hello.rb - sample for GetText._() # # Copyright (C) 2001-2004 Masao Mutoh # This file is distributed under the same license as Ruby-GetText-Package. require 'gettext' include GetText bindtextdomain("hello", "locale") print _("Hello World\n") </code> And I get the error : $ ./hello.rb ./hello.rb:7:in `require': no such file to load -- gettext (LoadError) from ./hello.rb:7 I found some bugs with ruby-gettext, but I already have dev-ruby/ruby-gnome2-0.14.1 what fixed the other bugs ! Reproducible: Always Steps to Reproduce: 1. emerge dev-ruby/ruby-gettext 2. try the hello.rb sample 3. Actual Results: ./hello.rb:7:in `require': no such file to load -- gettext (LoadError) from ./hello.rb:7 Expected Results: to work Portage 2.0.53_rc7 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r0, 2.6.14-cj1 i686) ================================================================= System uname: 2.6.14-cj1 i686 Intel(R) Pentium(R) M processor 1.80GHz Gentoo Base System version 1.12.0_pre10 ccache version 2.4 [enabled] dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -pipe -fomit-frame-pointer -march=pentium-m -mtune=pentium-m" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-Os -pipe -fomit-frame-pointer -march=pentium-m -mtune=pentium-m" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildsyspkg ccache cvs distlocks fixpackages nostrip sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.proxad.net/mirrors/ftp.gentoo.org/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" LANG="fr_FR.utf8" LINGUAS="fr ja" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.belnet.be/gentoo-portage/" USE="x86 GAPING_SECURITY_HOLE X a52 aac aalib acpi aim aimextras aio alsa anthy apm applet asm audiofile avi bash-completion berkdb bitmap-fonts bluetooth bmp bzip2 canna cardbus ccache cdda cddb cdio cdparanoia cdr cdrom chasen chroot cjk corba cracklib crypt css cups curl dga dio directfb djvu dpms dri dts dv dvd dvdr dvdread dvi emboss emoticon encode escreen esd examples exif expat fam fame fat fbcon fbsplash ffmpeg figlet flac flood fontconfig foomaticdb fortran fpx freetype freewnn ftp gd gdbm gif gimp gimpprint glut glx gmail gmp gpm gs gstreamer gtk gtk2 gzip html http i8x0 iconv icq idn ieee1394 image imagemagick imap imlib imlib2 ipv6 irc jabber john jpeg kqemu lame latex lcms lesstif libcaca libg++ libwww live lm_sensors logitech-mouse mad matroska md5sum menubar mikmod mixer mjpeg mmx mng mnogosearch motif mouse mozilla mozpango mozsvg mp3 mp4live mpeg mpeg2 mpeg4 mplayer msn msnextras musepack music ncurses net nethack network new-login nls no-old-linux nptl nptlonly nsplugin ntfs offensive ogg oggvorbis openal opengl oscar pam pam_chroot pam_timestamp pcmcia pcre pdf pdflib perl pic player plugin png pnp pop posix ppds python qemu-fast quicktime rar readline real recode reiserfs rss ruby samba screen sdl sftp sftplogging shorten silc skk slang smartcard sndfile softmmu sox speex spell sse sse-filters sse2 ssl stream stroke subtitles svg svga sysfs szip tabs tcltk tcpd tetex text tga theora threads tiff toolbar tools transcode truetype truetype-fonts type1-fonts ucs2 ucs4 udev uim unicode usb userlocales utf8 vcd vfat videos vidix vim vorbis wifi win32codecs wmf xanim xfs xim xml xml2 xmms xosd xpm xprint xrandr xscreensaver xv xvid xvmc yahoo zlib video_cards_i810 video_cards_i830 video_cards_i915 linguas_fr linguas_ja userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS
that's because it's a gem. you need to add "rubygems" to your RUBYOPT, or start ruby with "ruby -rrubygems" I think I have this fixes in the latest version of rubygems.
See comments above. We may get automated gem requirement someday, after ruby supports it or we get environment specific variables.