From: Wybo Dekker Date: 2012-04-23T20:49:43+09:00 Subject: Re: gem-packed script with DATA section does not work On 2012-04-23 11:39, Xavier Noria wrote: > 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. That's clear, but does that mean there's no workaround? Can Ruby not be told that the DATA section is somewhere else? -- Wybo