From: Luis Lavena Date: 2008-01-05T04:00:01+09:00 Subject: Re: rubygems: location of my gems On 4 ene, 16:49, Nasir Khan wrote: > [Note: parts of this message were removed to make it a legal post.] > > Hi, > > Is there an easy way of finding the location of my installed gem > programmatically. > I need this to create an environment variable. C:\Documents and Settings\Usuario>irb irb(main):001:0> require 'rubygems' => true irb(main):002:0> Gem.dir => "C:/Ruby/lib/ruby/gems/1.8" irb(main):003:0> HTH, -- Luis Lavena