From: Xavier Noria Date: 2012-04-23T18:39:44+09:00 Subject: Re: gem-packed script with DATA section does not work --bcaec51ba175f7fd5e04be556a27 Content-Type: text/plain; charset=UTF-8 DATA points to the contents after the __END__ directive of the executable script that acts as an entry point (is not per file). RubyGems wraps gem's executables with its own executables. Those wrappers know where's the gem executable located, and also understand version selection as an underscored argument. So, in a gem, the very gem's executables are not the main files because of this indirection. --bcaec51ba175f7fd5e04be556a27 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
DATA points to the contents after the __END__ di= rective of the executable script that acts as an entry point (is not per fi= le).

R= ubyGems wraps gem's executables with its own executables. Those wrapper= s know where's the gem executable located, and also understand version = selection as an underscored argument. So, in a gem, the very gem's exec= utables are not the main files because of this indirection.

--bcaec51ba175f7fd5e04be556a27--