[Rubygems-developers] Preliminary testing and executable support
chad at chadfowler.com
Sat Mar 20 13:31:21 EST 2004
On Mar 20, 2004, at 12:37 PM, Gavin Sinclair wrote:
> On Sunday, March 21, 2004, 4:04:52 AM, Chad wrote:
>> This will result in a generated "myapp" being installed from "bin" in
>> the gem distribution into the same location as the ruby executable
>> (not yet over-ridable). The generated script looks like this:
>> require 'rubygems'
>> require_gem 'an-app', "0.0.1"
>> load 'myapp'
>> ...assuming that the gem is caled "an-app" and is at version 0.0.1.
>> make the "load" work properly, I had to stuff "bin" into the
> Couldn't you generate an absolute path in some way?
That's definitely a possibility (easy to do). I wonder if there is a
reason not to do that. I'll think about that before doing any more
More information about the Rubygems-developers