[Fwd: Re: Cannot require library for passenger in ruby]
Karli Sjöberg
karli at inparadise.se
Wed Feb 21 12:05:30 UTC 2018
The address to this list had one 'e' to many in it :)
/K
-------- Forwarded Message --------
From: Karli Sjöberg via freebsd-ports <freebsd-ports at freebsd.org>
Reply-to: karli at inparadise.se
To: Marcin Cieslak <saper at saper.info>
Cc: ports at freebsd.org, ruby at 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öberg wrote:
> >
> > > > What is the tool you are trying to deploy? foreman_maintain?
> >
> > 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´re right, it didn´t fix the issue:
> # /usr/local/bin/passenger-recycler
> /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>'
>
> But the port worked, so good job on that! :)
>
> I get the feeling that the installed binaries are fine, it´s
> 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
>
> >
> > # 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= foreman_maintain
> > XPORTVERSION= 0.1.3
> > XCATEGORIES= devel rubygems
> > XMASTER_SITES= RG
> > X
> > XMAINTAINER= ruby at FreeBSD.org
> > XCOMMENT= Facility to keep Foreman/Satellite services
> > running
> > X
> > XRUN_DEPENDS= 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= yes
> > XUSES= gem shebangfix
> > XUSE_RUBY= yes
> > X
> > XPLIST_FILES= bin/foreman-maintain bin/passenger-recycler
> > X
> > XSHEBANG_FILES= ${PLIST_FILES}
> > X
> > X.include <bsd.port.mk>
> > 15090155e0ad279a3a88902efd75aea3
> > echo x - rubygem-foreman_maintain/distinfo
> > sed 's/^X//' >rubygem-foreman_maintain/distinfo <<
> > 'b2bf4dcb1a0a898485a2b273846fd43e'
> > XTIMESTAMP = 1519156673
> > XSHA256 (rubygem/foreman_maintain-0.1.3.gem) =
> > 35f10c7df685072de50f515bfe5c694791d01f5d2eb2ef02c32b693f7e68f73b
> > XSIZE (rubygem/foreman_maintain-0.1.3.gem) = 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freebsd.org/pipermail/freebsd-ruby/attachments/20180221/68b16134/attachment.sig>
More information about the freebsd-ruby
mailing list