Date: Thu, 16 Mar 2023 15:54:35 +0900 (JST) From: Yasuhiro Kimura <yasu@utahime.org> To: mfechner@freebsd.org Cc: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: 097770c474d4 - main - Mk/bsd.default-versions.mk: Change default version of Ruby Message-ID: <20230316.155435.654841228738236445.yasu@utahime.org> In-Reply-To: <0bffce9b-6d0c-d55f-a0b0-41e6c5a87475@freebsd.org> References: <202303150710.32F7ABGP010652@gitrepo.freebsd.org> <0bffce9b-6d0c-d55f-a0b0-41e6c5a87475@freebsd.org>
index | next in thread | previous in thread | raw e-mail
From: Matthias Fechner <mfechner@freebsd.org>
Subject: Re: git: 097770c474d4 - main - Mk/bsd.default-versions.mk: Change default version of Ruby
Date: Thu, 16 Mar 2023 07:48:25 +0200
> Dear Yasuhiro,
>
> Am 15.03.2023 um 09:10 schrieb Yasuhiro Kimura:
>> Mk/bsd.default-versions.mk: Change default version of Ruby
>> * Change default version of Ruby from 3.0 to 3.1.
>> * Bump PORTREVISION of lang/ruby3[01]. They need to be rebuilt as only
>> default ruby package includes ${PREFIX}/bin/ruby and
>> ${PREFIX}/man/man1/ruby.1.gz symlinks.
>> * Add entry about change of default Ruby version to UPDATING.
>> PR: 268586
>> Exp-run by: antoine
>> Approved by: meta (ruby, maintainer)
>
> could you please have a look here:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270252
>
> It seems that the upgrade to ruby 3.1 has broken www/gitlab-ce.
>
> Do you have any idea how to fix this?
>
> Gruß
> Matthias
1. According to the bug report runtime error happens with following
error message.
LoadError: cannot load such file -- net/smtp
2. There is following entry in the "Standard libraries updates"
section of Ruby 3.1.0 Release Notes
(https://www.ruby-lang.org/en/news/2021/12/25/ruby-3-1-0-released/)
-----------------------------------------------------------------
The following default gems are now bundled gems. You need to add
the following libraries to Gemfile under the bundler environment.
* net-ftp 0.1.3
* net-imap 0.2.2
* net-pop 0.1.1
* net-smtp 0.3.1
* matrix 0.4.2
* prime 0.1.2
* debug 1.4.0
-----------------------------------------------------------------
3. Our Ruby ports (lang/rubyXY) don't include bundled gems.
So it seems www/gitlab-ce and/or its dependencies implicitly require
net-smtp without adding it to Gemfile.
---
Yasuhiro Kimura
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230316.155435.654841228738236445.yasu>
