Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Oct 2014 01:08:28 +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: r370495 - in head: . Mk
Message-ID:  <201410090108.s9918S6X028150@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Thu Oct  9 01:08:28 2014
New Revision: 370495
URL: https://svnweb.freebsd.org/changeset/ports/370495
QAT: https://qat.redports.org/buildarchive/r370495/

Log:
  Switch default Ruby to 2.0

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

Modified: head/Mk/bsd.default-versions.mk
==============================================================================
--- head/Mk/bsd.default-versions.mk	Wed Oct  8 23:40:03 2014	(r370494)
+++ head/Mk/bsd.default-versions.mk	Thu Oct  9 01:08:28 2014	(r370495)
@@ -29,7 +29,7 @@ PHP_DEFAULT?=		5.4
 PYTHON_DEFAULT?=	2.7
 PYTHON2_DEFAULT?=	2.7
 PYTHON3_DEFAULT?=	3.3
-RUBY_DEFAULT?=		1.9
+RUBY_DEFAULT?=		2.0
 TCLTK_DEFAULT?=		8.6
 FIREBIRD_DEFAULT?=	2.5
 

Modified: head/UPDATING
==============================================================================
--- head/UPDATING	Wed Oct  8 23:40:03 2014	(r370494)
+++ head/UPDATING	Thu Oct  9 01:08:28 2014	(r370495)
@@ -5,6 +5,39 @@ 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.
 
+20141008:
+  AFFECTS: users of lang/ruby19
+  AUTHOR: swills@FreeBSD.org
+
+  The default ruby version has been updated from 1.9 to 2.0. 
+
+  If you compile your own ports you may keep 1.9 as the default version by
+  adding the following lines to your /etc/make.conf file:
+
+  #
+  # Keep ruby 1.9 as default version
+  #
+  DEFAULT_VERSIONS+=ruby=1.9
+
+  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/ruby20 lang/ruby19
+  # portmaster -R -r ruby-2.0
+
+  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
+  # portupgrade -x ruby-2.0.\* -fr lang/ruby20
+
 20141003:
   AFFECTS: xorg users
   AUTHOR: bapt@FreeBSD.org



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