On Tue, Nov 25, 2008 at 2:37 PM, Jim Weirich <[EMAIL PROTECTED]> wrote:
>
> 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?
>

This has been in the Feature request queue of RubyGems for quite some time:

http://rubyforge.org/tracker/index.php?func=detail&aid=8820&group_id=126&atid=578

On the portability note, you can drop root privileges on *nix, but is
not portable without conditions.

-- 
Luis Lavena
AREA 17
-
Human beings, who are almost unique in having the ability to learn from
the experience of others, are also remarkable for their apparent
disinclination to do so.
Douglas Adams
_______________________________________________
Rubygems-developers mailing list
Rubygems-developers@rubyforge.org
http://rubyforge.org/mailman/listinfo/rubygems-developers

Reply via email to