Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Mar 2015 03:04:41 +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: r380171 - in head: . Mk
Message-ID:  <201503010304.t2134fkk062813@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Sun Mar  1 03:04:40 2015
New Revision: 380171
URL: https://svnweb.freebsd.org/changeset/ports/380171
QAT: https://qat.redports.org/buildarchive/r380171/

Log:
  - Switch default version of Ruby to 2.0
  
  PR:		196632

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

Modified: head/Mk/bsd.default-versions.mk
==============================================================================
--- head/Mk/bsd.default-versions.mk	Sun Mar  1 01:41:00 2015	(r380170)
+++ head/Mk/bsd.default-versions.mk	Sun Mar  1 03:04:40 2015	(r380171)
@@ -29,7 +29,7 @@ PHP_DEFAULT?=		5.6
 PYTHON_DEFAULT?=	2.7
 PYTHON2_DEFAULT?=	2.7
 PYTHON3_DEFAULT?=	3.4
-RUBY_DEFAULT?=		2.0
+RUBY_DEFAULT?=		2.1
 TCLTK_DEFAULT?=		8.6
 FIREBIRD_DEFAULT?=	2.5
 

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Sun Mar  1 01:41:00 2015	(r380170)
+++ head/UPDATING	Sun Mar  1 03:04:40 2015	(r380171)
@@ -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.
 
+20150301:
+  AFFECTS: users of lang/ruby20
+  AUTHOR: swills@FreeBSD.org
+
+  The default ruby version has been updated from 2.0 to 2.1.
+
+  If you compile your own ports you may keep 2.0 as the default version by
+  adding the following lines to your /etc/make.conf file:
+
+  #
+  # Keep ruby 2.0 as default version
+  #
+  DEFAULT_VERSIONS+=ruby=2.0
+
+  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/ruby21 lang/ruby20
+  # portmaster -R -r ruby-2.1
+
+  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/ruby20:lang/ruby21
+  # portupgrade -x ruby-2.1.\* -fr lang/ruby21
+
 20150227:
   AFFECTS: Users of games/trigger
   AUTHOR: makc@FreeBSD.org



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