Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jan 2017 19:23:19 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r431022 - in head: . Mk
Message-ID:  <201701091923.v09JNJdN045433@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Mon Jan  9 19:23:19 2017
New Revision: 431022
URL: https://svnweb.freebsd.org/changeset/ports/431022

Log:
  Switch default Ruby version from 2.2 to 2.3
  
  PR:		215013

Modified:
  head/Mk/bsd.default-versions.mk
  head/UPDATING

Modified: head/Mk/bsd.default-versions.mk
==============================================================================
--- head/Mk/bsd.default-versions.mk	Mon Jan  9 19:13:28 2017	(r431021)
+++ head/Mk/bsd.default-versions.mk	Mon Jan  9 19:23:19 2017	(r431022)
@@ -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

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Mon Jan  9 19:13:28 2017	(r431021)
+++ head/UPDATING	Mon Jan  9 19:23:19 2017	(r431022)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701091923.v09JNJdN045433>