[Rubygems-developers] Executable Ruby Scripts under a gem dir...

Jamis Buck jgb3 at email.byu.edu
Thu Mar 18 07:38:53 EST 2004


Richard Kilmer wrote:

> Should we have a metadata key that specifies the executable dir? (like 
> bin above) or just use bin every time?

I, for one, am all for configurability.  I say make 'bin' the default, 
but allow it to be configured. That way, if an existing project doesn't 
use a 'bin' directory for its executables, they don't have to modify 
their existing directory structure (possibly with consequences in CVS) 
to take advantage of the executable gem idea.

-- 
Jamis Buck
jgb3 at email.byu.edu
http://www.jamisbuck.org/jamis

ruby -h | ruby -e 
'a=[];readlines.join.scan(/-(.)\[e|Kk(\S*)|le.l(..)e|#!(\S*)/) {|r| a << 
r.compact.first };puts "\n>#{a.join(%q/ /)}<\n\n"'


More information about the Rubygems-developers mailing list