Date: Wed, 21 Feb 2018 12:42:00 +0100 From: Karli =?ISO-8859-1?Q?Sj=F6berg?= <karli@inparadise.se> To: Marcin Cieslak <saper@saper.info> Cc: ports@freebsd.org, ruby@freeebsd.org Subject: Re: Cannot require library for passenger in ruby Message-ID: <1519213320.1980.15.camel@inparadise.se> In-Reply-To: <nycvar.OFS.7.76.6.1802202023350.2659@z.fncre.vasb> References: <1a126f7d-6843-4031-a217-71ac7f515481@email.android.com> <nycvar.OFS.7.76.6.1802190746120.2659@z.fncre.vasb> <1519045601.1980.0.camel@inparadise.se> <nycvar.OFS.7.76.6.1802202023350.2659@z.fncre.vasb>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-dwL27QzceOobbL5kYc9+ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2018-02-20 at 20:26 +0000, Marcin Cieslak wrote: > On Mon, 19 Feb 2018, Karli Sj=C3=B6berg wrote: >=20 > > > What is the tool you are trying to deploy? foreman_maintain? >=20 > Can you try the port below? Unfortunately I do not see how > foreman_maintain may fix your passenger > installation issues, but here it is: No, you=C2=B4re right, it didn=C2=B4t fix the issue: # /usr/local/bin/passenger-recycler=20 /usr/local/lib/ruby/gems/2.4/gems/foreman_maintain-0.1.3/bin/passenger-recy= cler:10: warning: already initialized constant CONFIG /usr/local/lib/ruby/gems/2.4/gems/foreman_maintain-0.1.3/bin/passenger-recy= cler:8: warning: previous definition of CONFIG was here /usr/local/lib/ruby/site_ruby/2.4/rubygems/core_ext/kernel_require.rb:135:i= n `require': cannot load such file -- /phusion_passenger/utils/tmpio (LoadE= rror) from /usr/local/lib/ruby/site_ruby/2.4/rubygems/core_ext/kernel_req= uire.rb:135:in `rescue in require' from /usr/local/lib/ruby/site_ruby/2.4/rubygems/core_ext/kernel_req= uire.rb:39:in `require' from /usr/local/lib/ruby/gems/2.4/gems/passenger-5.1.12/src/ruby_su= pportlib/phusion_passenger.rb:240:in `require_passenger_lib' from /usr/local/lib/ruby/gems/2.4/gems/passenger-5.1.12/src/ruby_su= pportlib/phusion_passenger/platform_info.rb:26:in `<top (required)>' from /usr/local/lib/ruby/site_ruby/2.4/rubygems/core_ext/kernel_req= uire.rb:70:in `require' from /usr/local/lib/ruby/site_ruby/2.4/rubygems/core_ext/kernel_req= uire.rb:70:in `require' from /usr/local/lib/ruby/gems/2.4/gems/foreman_maintain-0.1.3/bin/p= assenger-recycler:44:in `<top (required)>' from /usr/local/bin/passenger-recycler:23:in `load' from /usr/local/bin/passenger-recycler:23:in `<main>' But the port worked, so good job on that! :) I get the feeling that the installed binaries are fine, it=C2=B4s something else, something more basic with passenger, since it bombs at just trying to load a library that is included directly in the rubygem- passenger package. Does anyone have a clue here? /K >=20 > # This is a shell archive. Save it in a file, remove anything before > # this line, and then unpack it by entering "sh file". Note, it may > # create directories; files and directories will be owned by you and > # have default permissions. > # > # This archive contains: > # > # rubygem-foreman_maintain > # rubygem-foreman_maintain/Makefile > # rubygem-foreman_maintain/distinfo > # rubygem-foreman_maintain/pkg-descr > # > echo c - rubygem-foreman_maintain > mkdir -p rubygem-foreman_maintain > /dev/null 2>&1 > echo x - rubygem-foreman_maintain/Makefile > sed 's/^X//' >rubygem-foreman_maintain/Makefile << > '15090155e0ad279a3a88902efd75aea3' > X# $FreeBSD: head/devel/rubygem-foreman/Makefile 448125 2017-08-17 > 15:05:14Z sunpoet $ > X > XPORTNAME=3D foreman_maintain > XPORTVERSION=3D 0.1.3 > XCATEGORIES=3D devel rubygems > XMASTER_SITES=3D RG > X > XMAINTAINER=3D ruby@FreeBSD.org > XCOMMENT=3D Facility to keep Foreman/Satellite services running > X > XRUN_DEPENDS=3D rubygem-clamp>0:devel/rubygem-clamp \ > X rubygem-highline>0:devel/rubygem-highline \ > X rubocop:devel/rubygem-rubocop \ > X pry:devel/rubygem-pry > X > XNO_ARCH=3D yes > XUSES=3D gem shebangfix > XUSE_RUBY=3D yes > X > XPLIST_FILES=3D bin/foreman-maintain bin/passenger-recycler > X > XSHEBANG_FILES=3D ${PLIST_FILES} > X > X.include <bsd.port.mk> > 15090155e0ad279a3a88902efd75aea3 > echo x - rubygem-foreman_maintain/distinfo > sed 's/^X//' >rubygem-foreman_maintain/distinfo << > 'b2bf4dcb1a0a898485a2b273846fd43e' > XTIMESTAMP =3D 1519156673 > XSHA256 (rubygem/foreman_maintain-0.1.3.gem) =3D > 35f10c7df685072de50f515bfe5c694791d01f5d2eb2ef02c32b693f7e68f73b > XSIZE (rubygem/foreman_maintain-0.1.3.gem) =3D 58880 > b2bf4dcb1a0a898485a2b273846fd43e > echo x - rubygem-foreman_maintain/pkg-descr > sed 's/^X//' >rubygem-foreman_maintain/pkg-descr << > '9944d73c5ee733bda3fa3a0bea6fbf70' > XA maintenance tool for Foreman/Satellite Ruby applications > X > XWWW: https://github.com/theforeman/foreman_maintain > 9944d73c5ee733bda3fa3a0bea6fbf70 > exit --=-dwL27QzceOobbL5kYc9+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEcBAABCAAGBQJajVsIAAoJEBpo164N2cuRjxQH/0YOpeZytQxk6n6XoPM68673 SLFHDRQIPmuxEUl5YYMkvqDzBwj93S9IDXzJIyAr8fGTgiDPTvweMPZafhEdSHww 8/tuH1mzBjofDBaVeVoQ1zb+66K8wmEXiVmyu8OwrbR9s2yeadZgMcxf7f/fR3cV xT5FUXn8hUJ+kTqxmO03Y1S5Wj4Vndod0qovhvuZuOdrrBq2/Cjo9BfNhDd4IdPZ 6q1eEyx6SUDCSTZygXfzhAksOPVmkhLDpy1v09UhyVrY5HDjTPCd+Lyh8+N79a3s FN7hUJ6bLUvcd4fvfXYYxOeryS7ZX7tIgqlomqSlLkjGF60PtYbEjAS/E0koEbc= =2Qnv -----END PGP SIGNATURE----- --=-dwL27QzceOobbL5kYc9+--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1519213320.1980.15.camel>