aboutsummaryrefslogtreecommitdiffstats
path: root/UPDATING
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2013-05-28 22:46:02 +0800
committerswills <swills@FreeBSD.org>2013-05-28 22:46:02 +0800
commitce20681bb0d550df419bfd27b8b856c7f07f1975 (patch)
tree5148194fb53b78ea8e9eb997feea2932a2e43ad8 /UPDATING
parent50f4782a7a2dfc9505f227d54e2b4615fb6ef76c (diff)
downloadfreebsd-ports-gnome-ce20681bb0d550df419bfd27b8b856c7f07f1975.tar.gz
freebsd-ports-gnome-ce20681bb0d550df419bfd27b8b856c7f07f1975.tar.zst
freebsd-ports-gnome-ce20681bb0d550df419bfd27b8b856c7f07f1975.zip
- Try again to fix the UPDATING entry for ruby. Thanks to bdrewery for the help.
Diffstat (limited to 'UPDATING')
-rw-r--r--UPDATING21
1 files changed, 17 insertions, 4 deletions
diff --git a/UPDATING b/UPDATING
index c8117a9dad87..e2182cb4ac94 100644
--- a/UPDATING
+++ b/UPDATING
@@ -12,10 +12,23 @@ you update your ports collection, before attempting any port upgrades.
The default ruby version has been updated from 1.8 to 1.9. You'll need to
rebuild all ports that depend on ruby:
- # portmaster -r ruby19
- or
- # portupgrade -fr lang/ruby19
- or
+ If you use portmaster:
+ # portmaster -o lang/ruby19 lang/ruby18
+ # portmaster -R -r ruby-1.9
+
+ If you use portupgrade:
+ # portupgrade -f lang/ruby18
+ # portupgrade -f lang/ruby19 # if you have it installed
+ # make -C /usr/ports/ports-mgmt/portupgrade build deinstall install clean
+ # rm -f /var/db/pkg/pkgdb.db /usr/ports/INDEX*.db
+ # pkgdb -uf
+ # portsdb -uf
+ # portupgrade -x ruby-1.8.\* -fr lang/ruby18
+
+ After these steps are complete, you can pkg_delete ruby 1.8 if you
+ no longer need it.
+
+ If you use pkgng:
# pkg set -o lang/ruby18:lang/ruby19
# pkg install -fR lang/ruby19