This makes ruby 2.1 the default ruby version.  Now that ruby 2.1.3 has
been released, it makes sense to switch the default from ruby 2.0 to
ruby 2.1.

Tested in a bulk of the ruby ports.  I plan on committing this on Monday
after commiting the other related updates (ruby 2.1.3, god,
ruby-hoe), unless I hear objections.

Thanks,
Jeremy

Index: ruby.port.mk
===================================================================
RCS file: /cvs/ports/lang/ruby/ruby.port.mk,v
retrieving revision 1.74
diff -u -p -r1.74 ruby.port.mk
--- ruby.port.mk        18 Sep 2014 07:42:55 -0000      1.74
+++ ruby.port.mk        19 Sep 2014 21:38:48 -0000
@@ -46,9 +46,9 @@ FULLPKGNAME?=         ${MODRUBY_PKG_PREFIX}-${P
 SUBST_VARS+=           GEM_BIN_SUFFIX GEM_MAN_SUFFIX
 
 FLAVOR?=
-# Without a FLAVOR, assume the use of ruby 2.0.
+# Without a FLAVOR, assume the use of ruby 2.1.
 .    if empty(FLAVOR)
-FLAVOR =               ruby20
+FLAVOR =               ruby21
 .    endif
 
 # Check for conflicting FLAVORs and set MODRUBY_REV appropriately based
@@ -74,8 +74,8 @@ PKG_ARGS+=    -f ${PORTSDIR}/lang/ruby/ruby
 .endif
 
 # The default ruby version to use for non-gem/extconf ports.  Defaults to ruby
-# 2.0 for consistency with the default ruby20 FLAVOR for gem/extconf ports.
-MODRUBY_REV?=          2.0
+# 2.1 for consistency with the default ruby21 FLAVOR for gem/extconf ports.
+MODRUBY_REV?=          2.1
 
 # Because the rbx, jruby, and ruby18 FLAVORs all use same binary names but in
 # different directories, GEM_MAN_SUFFIX is used for the man pages to avoid

Reply via email to