From: "T. Onoma" Date: 2004-08-28T12:04:44+09:00 Subject: Re: Install to bin dir? On Friday 27 August 2004 06:09 pm, Mauricio Fern�ndez wrote: > require 'rbconfig' > require 'ftools' > destdir = Config::CONFIG["destdir"] > # ... > exec_files.each do |f| > File.install f, File.join(destdir, File.basename(f)), 0755 > end Hmm... Config::CONFIG["destdir"] and not? Config::CONFIG['bindir'] > If you're following the 'standard' source layout (lib/, bin/, etc), > I suggest you use setup.rb from Aoki Minero: that way all you have to > do is copy setup.rb into your source dir, period (in most cases at least). Is setup.rb considered the "premier" way to do it? Looks like it handles compiling for .so too. Is that right? I wonder if it would be worth turning setup.rb into a rake extension? (And how hard it would be?). T.