========================================================================OLD # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils SLOT=0 LICENSE='LGPL-2' KEYWORDS='~x86' DESCRIPTION='rubygame is a library for interactive digital media in\ the ruby programming language' SRC_URI='http://heanet.dl.sourceforge.net/sourceforge/rubygame/rubygame-1.1.0.tar.bz2' HOMEPAGE='http://rubygame.sourceforge.net' IUSE='gfx image truetype opengl' RDEPEND="virtual/ruby >=media-libs/libsdl-1.2.7 gfx?( >=media-libs/sdl-gfx-2.0.10 ) image?( >=media-libs/sdl-image-1.2.3 ) truetype?( >=media-libs/sdl-ttf-2.0.6 )" src_compile() { if use gfx; then GFX=yes; else GFX=no; fi; if use image; then RUBYGAME_IMAGE=yes; else RUBYGAME_IMAGE=no; fi; if use truetype; then TRUETYPE=yes; else TRUETYPE=no; fi; if use opengl; then OPENGL=yes; else OPENGL=no; fi; ruby setup.rb config --prefix=${D}/usr -- --with-gfx=${GFX} --with-image=${RUBYGAME_IMAGE} --with-ttf=${TRUETYPE} --enable-opengl=${OPENGL} || die "config failed" ruby setup.rb setup || die "setup failed" } src_install() { ruby setup.rb install || die "install failed" } ========================================================================NEW # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils SLOT=0 LICENSE='LGPL-2' KEYWORDS='~x86' DESCRIPTION='rubygame is a library for interactive digital media in\ the ruby programming language' SRC_URI='http://heanet.dl.sourceforge.net/sourceforge/rubygame/rubygame-2.0.1.tar.bz2' HOMEPAGE='http://rubygame.sourceforge.net' IUSE='gfx mixer image truetype opengl' RDEPEND="virtual/ruby dev-ruby/rake >=media-libs/libsdl-1.2.7 gfx?( >=media-libs/sdl-gfx-2.0.10 ) image?( >=media-libs/sdl-image-1.2.3 ) mixer?( >=media-libs/sdl-mixer-1.2.7 ) truetype?( >=media-libs/sdl-ttf-2.0.6 )" src_compile() { RUBYGAME_CONFIG="" if use gfx; then RUBYGAME_CONFIG+="--gfx "; else RUBYGAME_CONFIG+="--no-gfx "; fi; if use image; then RUBYGAME_CONFIG+="--image "; else RUBYGAME_CONFIG+="--no-image "; fi; if use truetype; then RUBYGAME_CONFIG+="--ttf "; else RUBYGAME_CONFIG+="--no-ttf "; fi; if use opengl; then RUBYGAME_CONFIG+="--opengl "; else RUBYGAME_CONFIG+="--no-opengl "; fi; export RUBYGAME_CONFIG || die "export of RUBYGAME_CONFIG failed" rake build || die "build failed" } src_install() { rake install || die "install failed" } ========================================================================================================After uninstalling everything # emerge =dev-ruby/rubygame-1.1.0 Calculating dependencies ...... done! >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) dev-ruby/rubygame-1.1.0 to / * rubygame-1.1.0.tar.bz2 MD5 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking rubygame-1.1.0.tar.bz2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking rubygame-1.1.0.tar.bz2 to /var/tmp/portage/dev-ruby/rubygame-1.1.0/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-ruby/rubygame-1.1.0/work/rubygame-1.1.0 ... ---> lib ---> lib/rubygame <--- lib/rubygame <--- lib ---> ext ---> ext/rubygame /usr/bin/ruby18 /var/tmp/portage/dev-ruby/rubygame-1.1.0/work/rubygame-1.1.0/ext/rubygame/extconf.rb --with-gfx=yes --with-image=yes --with-ttf=yes --enable-opengl=yes checking for main() in -lSDL_gfx... yes checking for SDL_gfxPrimitives.h... yes checking for SDL_rotozoom.h... yes checking for main() in -lSDL_image... yes checking for SDL_image.h... yes checking for main() in -lSDL_ttf... yes checking for SDL_ttf.h... yes CFLAGS: -O2 -march=nocona -pipe -msse3 -fno-strict-aliasing -fPIC -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT INCFLAGS: -I. -I/usr/lib/ruby/1.8/i686-linux -I/var/tmp/portage/dev-ruby/rubygame-1.1.0/work/rubygame-1.1.0/ext/rubygame LOCAL_LIBS: -lSDL -lpthread defs: -DHAVE_SDL_GFXPRIMITIVES_H -DHAVE_SDL_ROTOZOOM_H -DHAVE_SDL_IMAGE_H -DHAVE_SDL_TTF_H -DHAVE_OPENGL creating Makefile <--- ext/rubygame <--- ext ---> lib ---> lib/rubygame <--- lib/rubygame <--- lib ---> ext ---> ext/rubygame make i686-pc-linux-gnu-gcc -I. -I. -I/usr/lib/ruby/1.8/i686-linux -I/var/tmp/portage/dev-ruby/rubygame-1.1.0/work/rubygame-1.1.0/ext/rubygame -DHAVE_SDL_GFXPRIMITIVES_H -DHAVE_SDL_ROTOZOOM_H -DHAVE_SDL_IMAGE_H -DHAVE_SDL_TTF_H -DHAVE_OPENGL -fPIC -O2 -march=nocona -pipe -msse3 -fno-strict-aliasing -fPIC -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c rubygame_transform.c i686-pc-linux-gnu-gcc -I. -I. -I/usr/lib/ruby/1.8/i686-linux -I/var/tmp/portage/dev-ruby/rubygame-1.1.0/work/rubygame-1.1.0/ext/rubygame -DHAVE_SDL_GFXPRIMITIVES_H -DHAVE_SDL_ROTOZOOM_H -DHAVE_SDL_IMAGE_H -DHAVE_SDL_TTF_H -DHAVE_OPENGL -fPIC -O2 -march=nocona -pipe -msse3 -fno-strict-aliasing -fPIC -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c rubygame_ttf.c i686-pc-linux-gnu-gcc -I. -I. -I/usr/lib/ruby/1.8/i686-linux -I/var/tmp/portage/dev-ruby/rubygame-1.1.0/work/rubygame-1.1.0/ext/rubygame -DHAVE_SDL_GFXPRIMITIVES_H -DHAVE_SDL_ROTOZOOM_H -DHAVE_SDL_IMAGE_H -DHAVE_SDL_TTF_H -DHAVE_OPENGL -fPIC -O2 -march=nocona -pipe -msse3 -fno-strict-aliasing -fPIC -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c rubygame_joystick.c i686-pc-linux-gnu-gcc -I. -I. -I/usr/lib/ruby/1.8/i686-linux -I/var/tmp/portage/dev-ruby/rubygame-1.1.0/work/rubygame-1.1.0/ext/rubygame -DHAVE_SDL_GFXPRIMITIVES_H -DHAVE_SDL_ROTOZOOM_H -DHAVE_SDL_IMAGE_H -DHAVE_SDL_TTF_H -DHAVE_OPENGL -fPIC -O2 -march=nocona -pipe -msse3 -fno-strict-aliasing -fPIC -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c rubygame_event.c i686-pc-linux-gnu-gcc -I. -I. -I/usr/lib/ruby/1.8/i686-linux -I/var/tmp/portage/dev-ruby/rubygame-1.1.0/work/rubygame-1.1.0/ext/rubygame -DHAVE_SDL_GFXPRIMITIVES_H -DHAVE_SDL_ROTOZOOM_H -DHAVE_SDL_IMAGE_H -DHAVE_SDL_TTF_H -DHAVE_OPENGL -fPIC -O2 -march=nocona -pipe -msse3 -fno-strict-aliasing -fPIC -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c rubygame_image.c i686-pc-linux-gnu-gcc -I. -I. -I/usr/lib/ruby/1.8/i686-linux -I/var/tmp/portage/dev-ruby/rubygame-1.1.0/work/rubygame-1.1.0/ext/rubygame -DHAVE_SDL_GFXPRIMITIVES_H -DHAVE_SDL_ROTOZOOM_H -DHAVE_SDL_IMAGE_H -DHAVE_SDL_TTF_H -DHAVE_OPENGL -fPIC -O2 -march=nocona -pipe -msse3 -fno-strict-aliasing -fPIC -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c rubygame_time.c i686-pc-linux-gnu-gcc -I. -I. -I/usr/lib/ruby/1.8/i686-linux -I/var/tmp/portage/dev-ruby/rubygame-1.1.0/work/rubygame-1.1.0/ext/rubygame -DHAVE_SDL_GFXPRIMITIVES_H -DHAVE_SDL_ROTOZOOM_H -DHAVE_SDL_IMAGE_H -DHAVE_SDL_TTF_H -DHAVE_OPENGL -fPIC -O2 -march=nocona -pipe -msse3 -fno-strict-aliasing -fPIC -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c rubygame_draw.c i686-pc-linux-gnu-gcc -I. -I. -I/usr/lib/ruby/1.8/i686-linux -I/var/tmp/portage/dev-ruby/rubygame-1.1.0/work/rubygame-1.1.0/ext/rubygame -DHAVE_SDL_GFXPRIMITIVES_H -DHAVE_SDL_ROTOZOOM_H -DHAVE_SDL_IMAGE_H -DHAVE_SDL_TTF_H -DHAVE_OPENGL -fPIC -O2 -march=nocona -pipe -msse3 -fno-strict-aliasing -fPIC -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c rubygame.c i686-pc-linux-gnu-gcc -I. -I. -I/usr/lib/ruby/1.8/i686-linux -I/var/tmp/portage/dev-ruby/rubygame-1.1.0/work/rubygame-1.1.0/ext/rubygame -DHAVE_SDL_GFXPRIMITIVES_H -DHAVE_SDL_ROTOZOOM_H -DHAVE_SDL_IMAGE_H -DHAVE_SDL_TTF_H -DHAVE_OPENGL -fPIC -O2 -march=nocona -pipe -msse3 -fno-strict-aliasing -fPIC -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c constants.c i686-pc-linux-gnu-gcc -I. -I. -I/usr/lib/ruby/1.8/i686-linux -I/var/tmp/portage/dev-ruby/rubygame-1.1.0/work/rubygame-1.1.0/ext/rubygame -DHAVE_SDL_GFXPRIMITIVES_H -DHAVE_SDL_ROTOZOOM_H -DHAVE_SDL_IMAGE_H -DHAVE_SDL_TTF_H -DHAVE_OPENGL -fPIC -O2 -march=nocona -pipe -msse3 -fno-strict-aliasing -fPIC -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c rubygame_screen.c i686-pc-linux-gnu-gcc -I. -I. -I/usr/lib/ruby/1.8/i686-linux -I/var/tmp/portage/dev-ruby/rubygame-1.1.0/work/rubygame-1.1.0/ext/rubygame -DHAVE_SDL_GFXPRIMITIVES_H -DHAVE_SDL_ROTOZOOM_H -DHAVE_SDL_IMAGE_H -DHAVE_SDL_TTF_H -DHAVE_OPENGL -fPIC -O2 -march=nocona -pipe -msse3 -fno-strict-aliasing -fPIC -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c rubygame_surface.c i686-pc-linux-gnu-gcc -I. -I. -I/usr/lib/ruby/1.8/i686-linux -I/var/tmp/portage/dev-ruby/rubygame-1.1.0/work/rubygame-1.1.0/ext/rubygame -DHAVE_SDL_GFXPRIMITIVES_H -DHAVE_SDL_ROTOZOOM_H -DHAVE_SDL_IMAGE_H -DHAVE_SDL_TTF_H -DHAVE_OPENGL -fPIC -O2 -march=nocona -pipe -msse3 -fno-strict-aliasing -fPIC -Wall -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c rubygame_gl.c i686-pc-linux-gnu-gcc -shared -o rubygame.so rubygame_transform.o rubygame_ttf.o rubygame_joystick.o rubygame_event.o rubygame_image.o rubygame_time.o rubygame_draw.o rubygame.o constants.o rubygame_screen.o rubygame_surface.o rubygame_gl.o -L'.' -L'/usr/lib' -Wl,-R'/usr/lib' -L. -rdynamic -Wl,-export-dynamic -lSDL -lpthread -Wl,-R -Wl,/usr/lib -L. -L/usr/lib -lruby18 -lSDL_ttf -lSDL_image -lSDL_gfx -lpthread -ldl -lcrypt -lm -lc <--- ext/rubygame <--- ext >>> Source compiled. >>> Test phase [not enabled]: dev-ruby/rubygame-1.1.0 >>> Install rubygame-1.1.0 into /var/tmp/portage/dev-ruby/rubygame-1.1.0/image/ category dev-ruby rm -f InstalledFiles ---> lib mkdir -p /var/tmp/portage/dev-ruby/rubygame-1.1.0/image/usr/lib/ruby/site_ruby/1.8 install rubygame.rb /var/tmp/portage/dev-ruby/rubygame-1.1.0/image/usr/lib/ruby/site_ruby/1.8/ ---> lib/rubygame mkdir -p /var/tmp/portage/dev-ruby/rubygame-1.1.0/image/usr/lib/ruby/site_ruby/1.8/rubygame install string.rb /var/tmp/portage/dev-ruby/rubygame-1.1.0/image/usr/lib/ruby/site_ruby/1.8/rubygame install sprite.rb /var/tmp/portage/dev-ruby/rubygame-1.1.0/image/usr/lib/ruby/site_ruby/1.8/rubygame install clock.rb /var/tmp/portage/dev-ruby/rubygame-1.1.0/image/usr/lib/ruby/site_ruby/1.8/rubygame install constants.rb /var/tmp/portage/dev-ruby/rubygame-1.1.0/image/usr/lib/ruby/site_ruby/1.8/rubygame install event.rb /var/tmp/portage/dev-ruby/rubygame-1.1.0/image/usr/lib/ruby/site_ruby/1.8/rubygame install rect.rb /var/tmp/portage/dev-ruby/rubygame-1.1.0/image/usr/lib/ruby/site_ruby/1.8/rubygame install queue.rb /var/tmp/portage/dev-ruby/rubygame-1.1.0/image/usr/lib/ruby/site_ruby/1.8/rubygame install sfont.rb /var/tmp/portage/dev-ruby/rubygame-1.1.0/image/usr/lib/ruby/site_ruby/1.8/rubygame install keyconstants.rb /var/tmp/portage/dev-ruby/rubygame-1.1.0/image/usr/lib/ruby/site_ruby/1.8/rubygame <--- lib/rubygame <--- lib ---> ext ---> ext/rubygame mkdir -p /var/tmp/portage/dev-ruby/rubygame-1.1.0/image/usr/lib/ruby/site_ruby/1.8/i686-linux install rubygame.so /var/tmp/portage/dev-ruby/rubygame-1.1.0/image/usr/lib/ruby/site_ruby/1.8/i686-linux/. <--- ext/rubygame <--- ext >>> Completed installing rubygame-1.1.0 into /var/tmp/portage/dev-ruby/rubygame-1.1.0/image/ strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment usr/lib/ruby/site_ruby/1.8/i686-linux/rubygame.so * checking 11 files for package collisions >>> Merging dev-ruby/rubygame-1.1.0 to / --- /usr/ --- /usr/lib/ --- /usr/lib/ruby/ --- /usr/lib/ruby/site_ruby/ --- /usr/lib/ruby/site_ruby/1.8/ >>> /usr/lib/ruby/site_ruby/1.8/rubygame.rb --- /usr/lib/ruby/site_ruby/1.8/rubygame/ >>> /usr/lib/ruby/site_ruby/1.8/rubygame/string.rb >>> /usr/lib/ruby/site_ruby/1.8/rubygame/sprite.rb >>> /usr/lib/ruby/site_ruby/1.8/rubygame/clock.rb >>> /usr/lib/ruby/site_ruby/1.8/rubygame/constants.rb >>> /usr/lib/ruby/site_ruby/1.8/rubygame/event.rb >>> /usr/lib/ruby/site_ruby/1.8/rubygame/rect.rb >>> /usr/lib/ruby/site_ruby/1.8/rubygame/queue.rb >>> /usr/lib/ruby/site_ruby/1.8/rubygame/sfont.rb >>> /usr/lib/ruby/site_ruby/1.8/rubygame/keyconstants.rb --- /usr/lib/ruby/site_ruby/1.8/i686-linux/ >>> /usr/lib/ruby/site_ruby/1.8/i686-linux/rubygame.so >>> Safely unmerging already-installed instance... No package files given... Grabbing a set. --- replaced obj /usr/lib/ruby/site_ruby/1.8/rubygame/string.rb --- replaced obj /usr/lib/ruby/site_ruby/1.8/rubygame/sprite.rb --- replaced obj /usr/lib/ruby/site_ruby/1.8/rubygame/sfont.rb --- replaced obj /usr/lib/ruby/site_ruby/1.8/rubygame/rect.rb --- replaced obj /usr/lib/ruby/site_ruby/1.8/rubygame/queue.rb --- replaced obj /usr/lib/ruby/site_ruby/1.8/rubygame/keyconstants.rb --- replaced obj /usr/lib/ruby/site_ruby/1.8/rubygame/event.rb --- replaced obj /usr/lib/ruby/site_ruby/1.8/rubygame/constants.rb --- replaced obj /usr/lib/ruby/site_ruby/1.8/rubygame/clock.rb --- replaced obj /usr/lib/ruby/site_ruby/1.8/rubygame.rb --- replaced dir /usr/lib/ruby/site_ruby/1.8/rubygame --- replaced obj /usr/lib/ruby/site_ruby/1.8/i686-linux/rubygame.so --- replaced dir /usr/lib/ruby/site_ruby/1.8/i686-linux --- replaced dir /usr/lib/ruby/site_ruby/1.8 --- replaced dir /usr/lib/ruby/site_ruby --- replaced dir /usr/lib/ruby --- replaced dir /usr/lib --- replaced dir /usr >>> Original instance of package unmerged safely. >>> dev-ruby/rubygame-1.1.0 merged. >>> No packages selected for removal by clean >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. =========================================================================================== # emerge =dev-ruby/rubygame-2.0.1 Calculating dependencies ..... done! >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) dev-ruby/rubygame-2.0.1 to / * rubygame-2.0.1.tar.bz2 MD5 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking rubygame-2.0.1.tar.bz2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking rubygame-2.0.1.tar.bz2 to /var/tmp/portage/dev-ruby/rubygame-2.0.1/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-ruby/rubygame-2.0.1/work/rubygame-2.0.1 ... (in /var/tmp/portage/dev-ruby/rubygame-2.0.1/work/rubygame-2.0.1) Compiling rubygame/rubygame_main.c Compiling rubygame/rubygame_shared.c Compiling rubygame/rubygame_event.c Compiling rubygame/rubygame_gl.c Compiling rubygame/rubygame_joystick.c Compiling rubygame/rubygame_screen.c Compiling rubygame/rubygame_surface.c Compiling rubygame/rubygame_time.c Linking compiled files to create rubygame/rubygame_core.so /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object. Compiling rubygame/rubygame_gfx.c Linking compiled files to create rubygame/rubygame_gfx.so /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object. Compiling rubygame/rubygame_image.c Linking compiled files to create rubygame/rubygame_image.so /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object. Compiling rubygame/rubygame_mixer.c Linking compiled files to create rubygame/rubygame_mixer.so /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object. Compiling rubygame/rubygame_ttf.c Linking compiled files to create rubygame/rubygame_ttf.so /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object. >>> Source compiled. >>> Test phase [not enabled]: dev-ruby/rubygame-2.0.1 >>> Install rubygame-2.0.1 into /var/tmp/portage/dev-ruby/rubygame-2.0.1/image/ category dev-ruby (in /var/tmp/portage/dev-ruby/rubygame-2.0.1/work/rubygame-2.0.1) Installing extensions to /usr/lib/ruby/site_ruby/1.8/i686-linux Installing library to /usr/lib/ruby/site_ruby/1.8 >>> Completed installing rubygame-2.0.1 into /var/tmp/portage/dev-ruby/rubygame-2.0.1/image/ * checking 0 files for package collisions >>> Merging dev-ruby/rubygame-2.0.1 to / >>> dev-ruby/rubygame-2.0.1 merged. dev-ruby/rubygame selected: 1.1.0 protected: 2.0.1 omitted: none >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. >>> Unmerging dev-ruby/rubygame-1.1.0... No package files given... Grabbing a set. <<< obj /usr/lib/ruby/site_ruby/1.8/rubygame/string.rb <<< obj /usr/lib/ruby/site_ruby/1.8/rubygame/sprite.rb <<< obj /usr/lib/ruby/site_ruby/1.8/rubygame/sfont.rb <<< obj /usr/lib/ruby/site_ruby/1.8/rubygame/rect.rb <<< obj /usr/lib/ruby/site_ruby/1.8/rubygame/queue.rb <<< obj /usr/lib/ruby/site_ruby/1.8/rubygame/keyconstants.rb <<< obj /usr/lib/ruby/site_ruby/1.8/rubygame/event.rb <<< obj /usr/lib/ruby/site_ruby/1.8/rubygame/constants.rb <<< obj /usr/lib/ruby/site_ruby/1.8/rubygame/clock.rb <<< obj /usr/lib/ruby/site_ruby/1.8/rubygame.rb <<< obj /usr/lib/ruby/site_ruby/1.8/i686-linux/rubygame.so --- !empty dir /usr/lib/ruby/site_ruby/1.8/rubygame --- !empty dir /usr/lib/ruby/site_ruby/1.8/i686-linux --- !empty dir /usr/lib/ruby/site_ruby/1.8 --- !empty dir /usr/lib/ruby/site_ruby --- !empty dir /usr/lib/ruby --- !empty dir /usr/lib --- !empty dir /usr >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. ==========================================================================trying the library # irb irb(main):001:0> require 'rubygame' LoadError: no such file to load -- rubygame from (irb):1:in `require' from (irb):1 =========================================================================after redoing # emerge =dev-ruby/rubygame-2.0.1 # irb irb(main):001:0> require 'rubygame' => true