From owner-freebsd-ruby@FreeBSD.ORG Wed Oct 9 23:39:55 2013 Return-Path: Delivered-To: freebsd-ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 819BD54D; Wed, 9 Oct 2013 23:39:55 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 6156A2EC6; Wed, 9 Oct 2013 23:39:54 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id B4D1E3AC97; Wed, 9 Oct 2013 16:39:54 -0700 (PDT) From: "Ronald F. Guilmette" To: Stanislav Sedov Subject: Re: fixing port dependencies In-Reply-To: Date: Wed, 09 Oct 2013 16:39:54 -0700 Message-ID: <81819.1381361994@server1.tristatelogic.com> Cc: freebsd-ruby@freebsd.org X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Oct 2013 23:39:55 -0000 In message , Stanislav Sedov wrote: >Yes, you need to rebuild all ports that depend on ruby18 if you plan >to delete it. Ruby libraries are installed in a version-specific >location, so only ruby18 will see them (that's also why they have >ruby18- prefix). > >To rebuild all ports that depend on ruby 18 you can use portupgrade: >,------ >| portupgrade -x ruby-1.8.\* -fr lang/ruby18 >`------ > >However, I believe the default version of ruby is 1.9 now, so this = >action will install ruby19 and update all install ruby applications and >libraries to use ruby19. I just wanted to say "thanks" for all the above info. I poked around and found out that the only thing I had installed that had a dependency on any of the ruby 1.8 stuff was portupgrade. So I did a pkg_delete on that, and then also on each of the following: ruby18-deplate-0.8.5 ruby18-bdb-0.6.6_1 ruby-1.8.7.371,1 I then cd'd to /usr/ports/ports-mgmt/portupgrade and did make install, which seemed to work just find and now my portupgrade is properly de- pending on ruby 1.9 stuff, so I am good to go.