[Rubygems-developers] Executing code after installing gem

Matt King swdc17 at gmail.com
Tue Nov 25 06:41:44 EST 2008

2008/11/25 James Tucker <jftucker at gmail.com>:
> Use the rakefile ext builder?

Tried that. It exited out with 'No builder for extension.'

> On 25 Nov 2008, at 11:08, Matt King wrote:
>> Hi all,
>> I have been looking for a way to execute some Ruby code at the end of
>> installing my gem. I can't seem to find anything that allows me to do
>> this.
>> I want to chmod a file in the gem directory. I don't want to have to
>> tell my users they must do this upon install. I would have it run on
>> requirement of the gem, but chmod'ing the file will most likely
>> require sudo rights as well.
>> Any help appreciated,
>> -Matt

More information about the Rubygems-developers mailing list