Wilson Bilkovich wrote:
> On 9/21/06, Ted Toth <txtoth / gmail.com> wrote:
>> Is there a way to get gem to run a script during an install similar to
>> rpms pre/post-install? How do others deal with needing to copy files or
>> create links etc. during a gem install?
>>
> 
> Include a script with one of the following names in the base directory
> of your gem:
> install.rb
> post-install.rb
> uninstall.rb
> 
> They get run pretty much when the names suggest. See gems like
> activerecord, rake, and rmagick for examples.

Thanks. I created a post-install.rb and tested it but it doesn't get run 
during the install as best I can tell. I've looked at the gem code and I 
don't see code that would run my post-install.rb script maybe I just 
missed it but ... Would you know where this happens? I did look at gems 
already on my system but they only contain install.rb files.

-- 
Posted via http://www.ruby-forum.com/.