Date: Mon, 8 Feb 2010 13:20:13 +0800 (CST) From: Jyun-Yan You <jyyou@cs.nctu.edu.tw> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/143661: [patch] Fail to install rubygem-passenger when using Ruby 1.9.1 Message-ID: <201002080520.o185KD2A019152@bsd3.cs.nctu.edu.tw> Resent-Message-ID: <201002080530.o185U3Hd060148@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002080520.o185KD2A019152>