> Question: why does a gem have a shebang line at all? Aren't gems always
only ever required by other ruby scripts?

When they have executable scripts like rails.


On Fri, Apr 5, 2013 at 7:16 PM, Matthew Kerwin <matthew / kerwin.net.au>wrote:

> On Apr 6, 2013 8:03 AM, "Matthew Mongeau" <halogenandtoast / gmail.com>
> wrote:
> >
> > I'm interested in the issue with using env, but I find you explanation a
> but hard to follow. What are some situations that lead to the problems you
> are describing. I'm currently using env in some gems and if there is a
> strong argument against it, I don't mind switching it.
>
> Question: why does a gem have a shebang line at all? Aren't gems always
> only ever required by other ruby scripts?
>