From: David Masover Date: 2008-07-23T13:16:59+09:00 Subject: Re: changing the shebang of ruby files best way ? On Sunday 20 July 2008 15:32:55 Garance A Drosehn wrote: > The problem is getting this new idea implemented on a large > number of platforms. How about via RubyGems? (Assume we can use more complex workarounds to get RubyGems installed...) Just have RubyGems detect the platform, and, when it installs a script for a particular Gem, have it add the appropriate shebang.