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.