[Rubygems-developers] Executing code after installing gem

Jim Weirich jim.weirich at gmail.com
Tue Nov 25 11:37:46 EST 2008

On Nov 25, 2008, at 11:28 AM, Charlie Savage wrote:

> Except it already does by letting a developer specify a Rakefile in  
> spec.extensions.  That's how I hacked around RubyGems to correctly  
> install dependent dlls into the lib directory.
> Not to mention the fact that once I have my gem installed, it can  
> pretty much do what it wants.

Once it is installed, it will run as a regular user, not as root.

Ideally you want to be able to build as a normal user and only switch  
to root for the "copy files" portion of the install.  Is there a  
system independent way of doing that?

-- Jim Weirich
-- jim.weirich at gmail.com

More information about the Rubygems-developers mailing list