git: eca58e376812 - main - Mk/bsd.default-versions.mk: Switch default version of Ruby from 2.7 to 3.0
- Reply: Bryan Drewery : "Re: git: eca58e376812 - main - Mk/bsd.default-versions.mk: Switch default version of Ruby from 2.7 to 3.0"
- Reply: Koichiro Iwao : "Re: git: eca58e376812 - main - Mk/bsd.default-versions.mk: Switch default version of Ruby from 2.7 to 3.0"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 21 Apr 2022 14:08:51 UTC
The branch main has been updated by yasu: URL: https://cgit.FreeBSD.org/ports/commit/?id=eca58e3768122a0ef093f62ad91760e4341f5df1 commit eca58e3768122a0ef093f62ad91760e4341f5df1 Author: Yasuhiro Kimura <yasu@FreeBSD.org> AuthorDate: 2022-03-05 04:08:26 +0000 Commit: Yasuhiro Kimura <yasu@FreeBSD.org> CommitDate: 2022-04-21 14:08:24 +0000 Mk/bsd.default-versions.mk: Switch default version of Ruby from 2.7 to 3.0 How to upgrade is described in the entry of 20220421 in UPDATING. PR: 262350 Exp-run by: antoine --- Mk/bsd.default-versions.mk | 2 +- UPDATING | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk index 0c6bff24d655..4365b31ef1c4 100644 --- a/Mk/bsd.default-versions.mk +++ b/Mk/bsd.default-versions.mk @@ -116,7 +116,7 @@ PYTHON2_DEFAULT?= 2.7 # Possible values: 3.7, 3.8, 3.9, 3.10, 3.11 PYTHON3_DEFAULT?= 3.8 # Possible values: 2.7, 3.0, 3.1, 3.2 -RUBY_DEFAULT?= 2.7 +RUBY_DEFAULT?= 3.0 # Possible values: rust, rust-nightly RUST_DEFAULT?= rust # Possible values: 4.12, 4.13 diff --git a/UPDATING b/UPDATING index 846f358bee0b..8a93551c070f 100644 --- a/UPDATING +++ b/UPDATING @@ -5,6 +5,30 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20220421: + AFFECTS: users of lang/ruby27 + AUTHOR: yasu@FreeBSD.org + + The default ruby version has been updated from 2.7 to 3.0. + + If you compile your own ports you may keep 2.7 as the default version by + adding the following lines to your /etc/make.conf file: + + # + # Keep ruby 2.7 as default version + # + DEFAULT_VERSIONS+=ruby=2.7 + + If you wish to update to the new default version, you need to first stop any + software that uses ruby. Then, you will need to follow these steps, depending + upon how you manage your system. + + If you use pkg, simply upgrade: + # pkg upgrade + + If you do not use pkg, please check entry 20190420. + The description there should also work for this version. + 20220413: AFFECTS: users of net-im/py-matrix-synapse AUTHOR: ports@skyforge.at