From: Tom Cloyd Date: 2009-01-17T00:21:01+09:00 Subject: Re: RubyGem, find path of installed gem through ruby. Aaron Smith wrote: > Hey All, > > First, where is there some api docs for rubygem related methods and > classes? > > /usr/lib/ruby/gems/1.8/doc/rubygems-1.3.1/rdoc (Linux - Kubuntu) > Second, I have a gem that bundles some required files for the gem. How > do I find the path of the installed gem, so that I can load the bundled > files. For example, I have one executable file, that needs to load some > files that were included (in the lib) dir. But I do I know what the path > of my gem is? > > Thanks all > ~$ gen env -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Tom Cloyd, MS MA, LMHC - Private practice Psychotherapist Bellingham, Washington, U.S.A: (360) 920-1226 << tc@tomcloyd.com >> (email) << TomCloyd.com >> (website) << sleightmind.wordpress.com >> (mental health weblog) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~