From: Wilson Bilkovich Date: 2006-09-22T06:55:05+09:00 Subject: Re: gem installer and scripts On 9/21/06, Ted Toth 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.