Make default Ruby on Rails version to 3; currently 3.0.10.

This commit is contained in:
taca 2011-09-14 16:51:50 +00:00
parent 2185ff662d
commit 271bdc3812

View file

@ -1,4 +1,4 @@
# $NetBSD: rails.mk,v 1.8 2011/08/17 14:11:18 taca Exp $
# $NetBSD: rails.mk,v 1.9 2011/09/14 16:51:50 taca Exp $
.if !defined(_RUBY_RAILS_MK)
_RUBY_RAILS_MK= # defined
@ -10,7 +10,7 @@ _RUBY_RAILS_MK= # defined
# Select default Ruby on Rails version.
#
# Possible values: 2 3
# Default: 2
# Default: 3
#
#
# === Package-settable variables ===
@ -49,7 +49,7 @@ RUBY_RAILS_DEFAULT:= ${_RUBY_INSTALLED_RAILS}
. endif
.endif
RUBY_RAILS_DEFAULT?= 2
RUBY_RAILS_DEFAULT?= 3
.if ${RUBY_RAILS_DEFAULT} == "2"
RUBY_RAILS_VERSION:= ${RUBY_RAILS2_VERSION}
_RUBY_RAILS_MAJOR= 2