From: Suraj Kurapati Date: 2010-04-22T01:11:03+09:00 Subject: Re: Proposing a Ruby Packaging Standard Dmitry Borodaenko wrote: > On Wed, Apr 21, 2010 at 9:36 AM, Suraj Kurapati > wrote: >> My concern is about the Ruby code in bin/ and lib/ being able to >> find the rest of the files that originally came in the package. > > Isn't that precisely what Config::CONFIG['datadir'] is for? Yes, but that value does not reflect RubyGems style on my system: >> Config::CONFIG['datadir'] => "/usr/share" >> `gem env`.lines.grep(/install/i) => [" - INSTALLATION DIRECTORY: /usr/lib/ruby/gems/1.9.1\n"] It needs to reflect both styles to work correctly under either one. I am using RubyGems 1.3.6 with Ruby 1.9.1p378 on i686-linux. -- Posted via http://www.ruby-forum.com/.