[Rubygems-developers] Executing code after installing gem

Matt King swdc17 at gmail.com
Tue Nov 25 06:08:16 EST 2008


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