1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

Switch default Ruby version from 2.1 to 2.2

PR:		206852
This commit is contained in:
Steve Wills 2016-04-04 22:20:42 +00:00
parent ac7a6eb96b
commit 8a7e555998
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=412532
2 changed files with 35 additions and 1 deletions

View File

@ -44,7 +44,7 @@ PHP_DEFAULT?= 5.6
PYTHON_DEFAULT?= 2.7
PYTHON2_DEFAULT?= 2.7
PYTHON3_DEFAULT?= 3.4
RUBY_DEFAULT?= 2.1
RUBY_DEFAULT?= 2.2
TCLTK_DEFAULT?= 8.6
# Version of lang/gcc. Do not override!

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.
20160404:
AFFECTS: users of lang/ruby21
AUTHOR: swills@FreeBSD.org
The default ruby version has been updated from 2.1 to 2.2.
If you compile your own ports you may keep 2.1 as the default version by
adding the following lines to your /etc/make.conf file:
#
# Keep ruby 2.1 as default version
#
DEFAULT_VERSIONS+=ruby=2.1
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 -f
If you use portmaster, install new ruby, then rebuild all ports that depend
on ruby:
# portmaster -o lang/ruby22 lang/ruby21
# portmaster -R -r ruby-2.2
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/ruby21:lang/ruby22
# portupgrade -x ruby-2.2.\* -fr lang/ruby22
20160404:
AFFECTS: mail/spamassassin
AUTHOR: adamw@FreeBSD.org