Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Apr 2016 22:20:42 +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: r412532 - in head: . Mk
Message-ID:  <201604042220.u34MKgbr035505@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Mon Apr  4 22:20:42 2016
New Revision: 412532
URL: https://svnweb.freebsd.org/changeset/ports/412532

Log:
  Switch default Ruby version from 2.1 to 2.2
  
  PR:		206852

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

Modified: head/Mk/bsd.default-versions.mk
==============================================================================
--- head/Mk/bsd.default-versions.mk	Mon Apr  4 21:56:47 2016	(r412531)
+++ head/Mk/bsd.default-versions.mk	Mon Apr  4 22:20:42 2016	(r412532)
@@ -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!

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Mon Apr  4 21:56:47 2016	(r412531)
+++ head/UPDATING	Mon Apr  4 22:20:42 2016	(r412532)
@@ -6,6 +6,40 @@ You should get into the habit of checkin
 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
 



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