Date: Thu, 17 Jan 2019 01:48:16 +0900 (JST) From: Yasuhiro KIMURA <yasu@utahime.org> To: freebsd-ports@freebsd.org Subject: Re: Request for help: remove bundler from ruby 2.6 port Message-ID: <20190117.014816.1683386087895264933.yasu@utahime.org> In-Reply-To: <20190106.160701.1207556327908650084.yasu@utahime.org> References: <CAP7rwchJbtwuP-VLAxT11TgV9tOQweywcFFzYspFTsnyiZ5OMw@mail.gmail.com> <20181230.103514.1004952746059751135.yasu@utahime.org> <20190106.160701.1207556327908650084.yasu@utahime.org>
next in thread | previous in thread | raw e-mail | index | archive | help
From: Yasuhiro KIMURA <yasu@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@rolling-vm-freebsd2[2012]% pwd /usr0/freebsd/ports/head/graphics/rubygem-fastimage yasu@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@rolling-vm-freebsd2[2014]% Would someone please help me to fix it? Best Regards. --- Yasuhiro KIMURA
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190117.014816.1683386087895264933.yasu>