Port www/rubygem-passenger fails to install when using ruby 1.9: ===> Checking if www/rubygem-passenger already installed /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-3.0.4.gem -- --build-args Successfully installed passenger-3.0.4 1 gem installed Installing RDoc documentation for passenger-3.0.4... (cd /usr/local/lib/ruby/gems/1.9/gems/passenger-3.0.4 && lib/ruby/gems/1.9/gems/passenger-3.0.4/bin/rake19 nginx) lib/ruby/gems/1.9/gems/passenger-3.0.4/bin/rake19: not found *** Error code 127 Stop in /usr/ports/www/rubygem-passenger. *** Error code 1 Stop in /usr/ports/www/rubygem-passenger. *** Error code 1 Stop in /usr/ports/www/rubygem-passenger. Fix: I guess, the problem is in /usr/ports/Mk/bsd.ruby.mk : .if ${RUBY_VER} == 1.8 RAKE_BIN= ${LOCALBASE}/bin/rake .else RAKE_BIN= ${GEM_LIB_DIR}/bin/rake${RUBY_VER:S/.//} .endif There is usually no rake in the bin dir of a gem, in this case passenger. The following patch works for me and seems reasonable to me to make sure, rake of ruby 1.9 is used: How-To-Repeat: When ruby 1.9 is installed from the ports and the following entries are in /etc/make.conf: RUBY_VER=1.9 RUBY_DEFAULT_VER=1.9 then install passenger: cd /usr/ports/www/rubygem-passenger & make install
Responsible Changed From-To: freebsd-ports-bugs->ruby ruby@ wants this port PRs (via the GNATS Auto Assign Tool)
Maintainer of www/rubygem-passenger, Please note that PR ports/156217 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/156217 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
I am not sure how to respond to this as the proposed patch is a patch to bsd.ruby.mk and not the passenger port. -- Cheers, - Jacob Atzen On Wednesday, April 6, 2011 at 11:40 , Edwin Groothuis wrote: > Maintainer of www/rubygem-passenger, > > Please note that PR ports/156217 has just been submitted. > > If it contains a patch for an upgrade, an enhancement or a bug fix > you agree on, reply to this email stating that you approve the patch > and a committer will take care of it. > > The full text of the PR can be found at: > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/156217 > > -- > Edwin Groothuis via the GNATS Auto Assign Tool > edwin@FreeBSD.org >
swills@ says the patch looks good, but this will require an -exp run because it is for bsd.ruby.mk
stas 2011-04-06 19:36:50 UTC FreeBSD ports repository Modified files: Mk bsd.ruby.mk Log: - As ports ruby 1.9 now includes a recent version of rake, revert a part of 1.197 by pgollucci which breaks rake with ruby 1.9 and switch back to using the ruby 1.9 bundled one. PR: ports/155539, ports/156217 Submitted by: Ralf Gebhart <gebhart@secnetix.de>, Anonymous <swell.k@gmail.com> Revision Changes Path 1.204 +3 -3 ports/Mk/bsd.ruby.mk _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: feedback->closed Committed. Thanks!