Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2018 13:05:02 +0100
From:      Karli =?ISO-8859-1?Q?Sj=F6berg?= <karli@inparadise.se>
To:        ruby@freebsd.org
Subject:   [Fwd: Re: Cannot require library for passenger in ruby]
Message-ID:  <1519214702.1980.19.camel@inparadise.se>
References:  <1519213320.1980.15.camel@inparadise.se>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-nobxuqm8YM2faMKWWdn+
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

The address to this list had one 'e' to many in it :)

/K

-------- Forwarded Message --------
From: Karli Sj=C3=B6berg via freebsd-ports <freebsd-ports@freebsd.org>
Reply-to: 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
Date: Wed, 21 Feb 2018 12:42:00 +0100

> 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:
>=20
> 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-recycler:10: warning: already initialized
> constant CONFIG
> /usr/local/lib/ruby/gems/2.4/gems/foreman_maintain-
> 0.1.3/bin/passenger-recycler:8: warning: previous definition of
> CONFIG was here
> /usr/local/lib/ruby/site_ruby/2.4/rubygems/core_ext/kernel_require.rb
> :135:in `require': cannot load such file --
> /phusion_passenger/utils/tmpio (LoadError)
>         from
> /usr/local/lib/ruby/site_ruby/2.4/rubygems/core_ext/kernel_require.rb
> :135:in `rescue in require'
>         from
> /usr/local/lib/ruby/site_ruby/2.4/rubygems/core_ext/kernel_require.rb
> :39:in `require'
>         from /usr/local/lib/ruby/gems/2.4/gems/passenger-
> 5.1.12/src/ruby_supportlib/phusion_passenger.rb:240:in
> `require_passenger_lib'
>         from /usr/local/lib/ruby/gems/2.4/gems/passenger-
> 5.1.12/src/ruby_supportlib/phusion_passenger/platform_info.rb:26:in
> `<top (required)>'
>         from
> /usr/local/lib/ruby/site_ruby/2.4/rubygems/core_ext/kernel_require.rb
> :70:in `require'
>         from
> /usr/local/lib/ruby/site_ruby/2.4/rubygems/core_ext/kernel_require.rb
> :70:in `require'
>         from /usr/local/lib/ruby/gems/2.4/gems/foreman_maintain-
> 0.1.3/bin/passenger-recycler:44:in `<top (required)>'
>         from /usr/local/bin/passenger-recycler:23:in `load'
>         from /usr/local/bin/passenger-recycler:23:in `<main>'
>=20
> But the port worked, so good job on that! :)
>=20
> 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.
>=20
> Does anyone have a clue here?
>=20
> /K
>=20
> >=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
--=-nobxuqm8YM2faMKWWdn+
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----

iQEcBAABCAAGBQJajWBuAAoJEBpo164N2cuRjOkIAK+fY/iosOoSztMxaw5lfZ7j
I5zOh92JKrPgrp3DN5kyRKBHCqMxcVzDH9L15tITYCmsKut3MXogQjPkXldywGeg
nJQ+ZFXpvBUv9RnMGBpjYkZz+KmgQ8O+USbOqyFfbrVXdWAiJcBCyp9PSKS6C24N
CmNFEJUXgVgzdp1YTazRzRr7jpXgzhDqxtENl8amXG35gT6UIj0i+mO+fIQD5Wu5
lkYw7+r48NTWBq5NydOIgxmbmOk7BDqI6LnZ61xGOyIYXpE6oi7HJEUPBHuRSIy6
9RHI/z8bdTAzrEWd8f4zK89h02aN7wSoJ5LE/7vXhv4LWYPojts7pisY6G3EVvA=
=BvZS
-----END PGP SIGNATURE-----

--=-nobxuqm8YM2faMKWWdn+--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1519214702.1980.19.camel>