ports/103801: lang/ruby18: unprivileged rubygems install of gems with extensions fails
Dimitri Aivaliotis
aglarond at gmail.com
Fri Sep 29 07:30:23 UTC 2006
>Number: 103801
>Category: ports
>Synopsis: lang/ruby18: unprivileged rubygems install of gems with extensions fails
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Sep 29 07:30:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Dimitri Aivaliotis
>Release: 6.1-RELEASE
>Organization:
>Environment:
FreeBSD linux-dna.everyware.ch 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May 7 04:32:43 UTC 2006 root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
rubygems allows for nonprivileged users to use a gems repository in their home directory. When installing a gem that compiles an extension, the install of this compiled part fails because the CONFIG["INSTALL"] in rbconfig.rb is set to "/usr/bin/install -c -o root -g wheel". An unprivileged user can obviously not install anything as root, so the install fails.
>How-To-Repeat:
- install ruby and rubygems from ports.
- setup a local gem repository as an unprivileged user.
- install any gem that compiles an extension (mongrel, hpricot, etc.)
>Fix:
set CONFIG["INSTALL"] = '/usr/bin/install -c' in rbconfig.rb
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list