From: Jim Weirich Date: 2005-12-28T06:33:31+09:00 Subject: Re: gem and ruby extension Guillaume Marcais wrote: > Duh! Why can't it load rulog.so in the first case? The platform is ruby > 1.8.2 (2004-12-25) [i586-linux-gnu]. Ruby is able to find libraries installed via RubyGems only after the rubygem library is loaded. You can accomplish in several ways, including setting an environment variable (RUBYOPT=rubygems), including -rubygems on your ruby command line, or even putting a 'require "rubygems"' in your source code. See http://docs.rubygems.org/read/chapter/3#page70 for details. -- -- Jim Weirich -- Posted via http://www.ruby-forum.com/.