[Rubygems-developers] RubyGems don't like binaries for executables
Eric Hodel
drbrain at segment7.net
Thu Nov 1 23:55:50 EDT 2007
On Oct 23, 2007, at 13:20 , Luis Lavena wrote:
> What happens: when you install the gem, RubyGems systematically add
> the shebang to all the files marked as executables (and create the
> windows stubs also).
>
> To workaround this, I needed to exclude mongrel_service.exe from
> executables and manually copy the file, which is sub optimum
> (actually my gem does it).
I think this is a bug. RubyGems should check to see if the file has
a #! before turning it into garbage. If it doesn't have a #! (is
binary) then it should be installed via copying instead.
--
Poor workers blame their tools. Good workers build better tools. The
best workers get their tools to do the work for them. -- Syndicate Wars
More information about the Rubygems-developers
mailing list