Request for help: remove bundler from ruby 2.6 port
Yasuhiro KIMURA
yasu at utahime.org
Wed Jan 16 16:48:47 UTC 2019
From: Yasuhiro KIMURA <yasu at utahime.org>
Subject: Re: Request for help: remove bundler from ruby 2.6 port
Date: Sun, 06 Jan 2019 16:07:01 +0900 (JST)
> https://www.utahime.org/FreeBSD/ports/lang_ruby26.20190105.patch
>
> Please take following step to apply this patch.
>
> 1. cd /usr/ports
> 2. svn copy lang/ruby25 lang/ruby26
> 3. svn delete lang/ruby26/pkg-message
> 4. svn patch /path/to/this/patch
Updated.
https://www.utahime.org/FreeBSD/ports/lang_ruby26.20190116.patch
Same step is necessary to apply this patch.
Currently there is one problem. Rubygem ports fails to be installed.
For example install of graphics/rubygem-fastimage fails as following.
yasu at rolling-vm-freebsd2[2012]% pwd
/usr0/freebsd/ports/head/graphics/rubygem-fastimage
yasu at rolling-vm-freebsd2[2013]% make PORTSDIR=/usr0/freebsd/ports/head check-plist
===> License MIT accepted by the user
===> rubygem-fastimage-2.1.5 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by rubygem-fastimage-2.1.5 for building
===> Extracting for rubygem-fastimage-2.1.5
=> SHA256 Checksum OK for rubygem/fastimage-2.1.5.gem.
===> rubygem-fastimage-2.1.5 depends on file: /usr/local/bin/ruby26 - found
Unpacked gem: '/usr0/freebsd/ports/work/usr0/freebsd/ports/head/graphics/rubygem-fastimage/work/fastimage-2.1.5'
===> Patching for rubygem-fastimage-2.1.5
===> rubygem-fastimage-2.1.5 depends on file: /usr/local/bin/ruby26 - found
===> rubygem-fastimage-2.1.5 depends on file: /usr/local/bin/ruby26 - found
===> Configuring for rubygem-fastimage-2.1.5
===> Building for rubygem-fastimage-2.1.5
Successfully built RubyGem
Name: fastimage
Version: 2.1.5
File: fastimage-2.1.5.gem
===> Staging for rubygem-fastimage-2.1.5
===> rubygem-fastimage-2.1.5 depends on file: /usr/local/bin/ruby26 - found
===> Generating temporary packing list
(cd /usr0/freebsd/ports/work/usr0/freebsd/ports/head/graphics/rubygem-fastimage/work/fastimage-2.1.5; /usr/bin/env RB_USER_INSTALL=yes LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 /usr/local/bin/gem26 install -l --no-update-sources --install-dir /usr0/freebsd/ports/work/usr0/freebsd/ports/head/graphics/rubygem-fastimage/work/stage/usr/local/lib/ruby/gems/2.6 --ignore-dependencies --bindir=/usr0/freebsd/ports/work/usr0/freebsd/ports/head/graphics/rubygem-fastimage/work/stage/usr/local/bin --no-document rdoc,ri fastimage-2.1.5.gem -- --build-args )
ERROR: While executing gem ... (TypeError)
no implicit conversion of nil into String
*** Error code 1
Stop.
make: stopped in /usr0/freebsd/ports/head/graphics/rubygem-fastimage
yasu at rolling-vm-freebsd2[2014]%
Would someone please help me to fix it?
Best Regards.
---
Yasuhiro KIMURA
More information about the freebsd-ports
mailing list