Switch default Ruby version from 2.2 to 2.3

PR:		215013
This commit is contained in:
Steve Wills 2017-01-09 19:23:19 +00:00
parent 6d97569ad4
commit c8bbe678a6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=431022
2 changed files with 35 additions and 1 deletions

View File

@ -77,7 +77,7 @@ PYTHON2_DEFAULT?= 2.7
# Possible values: 3.3, 3.4, 3.5, 3.6
PYTHON3_DEFAULT?= 3.5
# Possible values: 2.1, 2.2, 2.3, 2.4
RUBY_DEFAULT?= 2.2
RUBY_DEFAULT?= 2.3
# Possible values: base, openssl, openssl-devel, libressl, libressl-devel
.if !defined(SSL_DEFAULT)
# If no preference was set, check for an installed base version

View File

@ -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.
20170109:
AFFECTS: users of lang/ruby22
AUTHOR: swills@FreeBSD.org
The default ruby version has been updated from 2.2 to 2.3.
If you compile your own ports you may keep 2.2 as the default version by
adding the following lines to your /etc/make.conf file:
#
# Keep ruby 2.2 as default version
#
DEFAULT_VERSIONS+=ruby=2.2
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/ruby23 lang/ruby22
# portmaster -R -r ruby-2.3
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/ruby22:lang/ruby23
# portupgrade -x ruby-2.3.\* -fr lang/ruby23
20170102:
AFFECTS: multimedia/ffmpeg
AUTHOR: jbeich@FreeBSD.org