From owner-freebsd-ruby@FreeBSD.ORG Mon Nov 15 00:13:50 2010 Return-Path: Delivered-To: ruby@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 804B81065784 for ; Mon, 15 Nov 2010 00:13:50 +0000 (UTC) (envelope-from zach@zach.com) Received: from zach.com (zach.com [68.71.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 359018FC15 for ; Mon, 15 Nov 2010 00:13:49 +0000 (UTC) Received: from zach.com (localhost [127.0.0.1]) by zach.com (8.14.4/8.14.4) with ESMTP id oAENiQmk056211 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 14 Nov 2010 16:44:26 -0700 (MST) (envelope-from zach@zach.com) Received: (from zach@localhost) by zach.com (8.14.4/8.14.4/Submit) id oAENiPAb056210 for ruby@FreeBSD.org; Sun, 14 Nov 2010 16:44:25 -0700 (MST) (envelope-from zach) Date: Sun, 14 Nov 2010 16:44:25 -0700 From: Randy Zach To: ruby@FreeBSD.org Message-ID: <20101114234425.GA56116@zach.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: Regarding pkgtools 2.4.7 makefiles and ruby18 X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2010 00:13:50 -0000 I had difficulty with pkgtools 2.4.7 and ruby19. I do configure my system to use ruby19 as the default ruby interpreter. Near the declaration of realpath in pkgmisc.rb, the "extend DL::Importable" declaration seemed to produce an uninitialized constant message. I chose not to pursue this and attempted to use ruby18 for pkgtools. In the makefiles the idiom $$_.sub(/^#!\s*\S*(\benv\s+)?\bruby/, "#!${RUBY}"); \ is used to substitute an alternate interpreter. Shouldn't this be sub!, instead of sub .... RZ