ports/143661: [patch] Fail to install rubygem-passenger when using Ruby 1.9.1
Jyun-Yan You
jyyou at cs.nctu.edu.tw
Mon Feb 8 05:30:03 UTC 2010
>Number: 143661
>Category: ports
>Synopsis: [patch] Fail to install rubygem-passenger when using Ruby 1.9.1
>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: Mon Feb 08 05:30:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Jyun-Yan You
>Release: FreeBSD 7.2-RELEASE-p4 amd64
>Organization:
>Environment:
System: FreeBSD bsd3.cs.nctu.edu.tw 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Fri Oct 2 08:22:32 UTC 2009 root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
When installing rubygem-passenger, rubygems can't find the rake included in Ruby 1.9.1.
It fails to resolve dependency and fails to install passenger.
>How-To-Repeat:
# cd /usr/ports/www/rubygem-passenger
# make RUBY_VER=1.9 install clean
...
/usr/bin/env /usr/local/bin/gem19 install -l --no-update-sources --no-ri --install-dir /usr/local/lib/ruby/gems/1.9 /usr/ports/distfiles/rubygem/passenger-2.2.7.gem -- --build-args
ERROR: Error installing /usr/ports/distfiles/rubygem/passenger-2.2.7.gem:
passenger requires rake (>= 0.8.1, runtime)
>Fix:
Adding --ignore-dependencies option to bsd.ruby.mk can solve the problem.
We have specified dependencies in Makefile. It's safe to add this option.
--- bsd.ruby.mk.diff begins here ---
--- bsd.ruby.mk.orig 2010-02-07 01:37:44.000000000 +0800
+++ bsd.ruby.mk 2010-02-07 01:45:24.000000000 +0800
@@ -426,7 +426,7 @@
do-install:
.for _D in ${GEMFILES}
- ${SETENV} ${GEM_ENV} ${RUBYGEMBIN} install -l --no-update-sources --no-ri --install-dir ${PREFIX}/lib/ruby/gems/${RUBY_VER} ${DISTDIR}/${DIST_SUBDIR}/${_D} -- --build-args ${CONFIGURE_ARGS}
+ ${SETENV} ${GEM_ENV} ${RUBYGEMBIN} install -l --no-update-sources --no-ri --install-dir ${PREFIX}/lib/ruby/gems/${RUBY_VER} ${DISTDIR}/${DIST_SUBDIR}/${_D} --ignore-dependencies -- --build-args ${CONFIGURE_ARGS}
.endfor
. if defined(RUBYGEM_AUTOPLIST)
--- bsd.ruby.mk.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list