diff options
author | Matthias Fechner <mfechner@FreeBSD.org> | 2019-04-19 22:48:01 +0000 |
---|---|---|
committer | Matthias Fechner <mfechner@FreeBSD.org> | 2019-04-19 22:48:01 +0000 |
commit | efc3d57a4b4d5e5d7905b9f011c5992afe9f32c5 (patch) | |
tree | ee8624d838ceb71f2e97af2dfdbc435f14065a57 | |
parent | e257b152d1da367ceba22be64fa7fd214c7dbd54 (diff) | |
download | ports-efc3d57a4b4d5e5d7905b9f011c5992afe9f32c5.tar.gz ports-efc3d57a4b4d5e5d7905b9f011c5992afe9f32c5.zip |
Change default version of ruby from 2.4 to 2.5.
PR: 233901
Exp-Run: antoine
Notes
Notes:
svn path=/head/; revision=499391
-rw-r--r-- | Mk/bsd.default-versions.mk | 2 | ||||
-rw-r--r-- | UPDATING | 34 |
2 files changed, 35 insertions, 1 deletions
diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk index 62ff721af6d4..b7853b513245 100644 --- a/Mk/bsd.default-versions.mk +++ b/Mk/bsd.default-versions.mk @@ -88,7 +88,7 @@ PYTHON2_DEFAULT?= 2.7 # Possible values: 3.5, 3.6, 3.7 PYTHON3_DEFAULT?= 3.6 # Possible values: 2.4, 2.5 -RUBY_DEFAULT?= 2.4 +RUBY_DEFAULT?= 2.5 # Possible values: rust, rust-nightly RUST_DEFAULT?= rust # Possible values: 4.6, 4.7, 4.8 @@ -5,6 +5,40 @@ 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. +20190420: + AFFECTS: users of lang/ruby24 + AUTHOR: mfechner@FreeBSD.org + + The default ruby version has been updated from 2.4 to 2.5. + + If you compile your own ports you may keep 2.4 as the default version by + adding the following lines to your /etc/make.conf file: + + # + # Keep ruby 2.4 as default version + # + DEFAULT_VERSIONS+=ruby=2.4 + + 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 pkgng, simply upgrade: + # pkg upgrade + + If you use portmaster, install new ruby, then rebuild all ports that depend + on ruby: + # portmaster -o lang/ruby25 lang/ruby24 + # portmaster -R -r ruby-2.5 + + If you use portupgrade, install new ruby, then rebuild all ports that depend + on ruby: + + # pkg delete -f ruby portupgrade + # make -C /usr/ports/ports-mgmt/portupgrade install clean + # pkg set -o lang/ruby24:lang/ruby25 + # portupgrade -x ruby-2.5.\* -fr lang/ruby25 + 20190419 AFFECTS: users of emulators/qemu AUTHOR: bofh@FreeBSD.org |