From owner-freebsd-ruby@FreeBSD.ORG Fri Nov 11 22:32:05 2011 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 DCDA9106564A for ; Fri, 11 Nov 2011 22:32:05 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (cl-414.sto-01.se.sixxs.net [IPv6:2001:16d8:ff00:19d::2]) by mx1.freebsd.org (Postfix) with ESMTP id 91CA48FC0A for ; Fri, 11 Nov 2011 22:32:05 +0000 (UTC) Received: from orion.SpringDaemons.com (207.47.0.2.static.nextweb.net [207.47.0.2]) by mx0.deglitch.com (Postfix) with ESMTPA id 173748FC2E; Sat, 12 Nov 2011 02:32:03 +0400 (MSK) Received: from orion (localhost [127.0.0.1]) by orion.SpringDaemons.com (Postfix) with SMTP id 949BB5C35; Fri, 11 Nov 2011 14:31:15 -0800 (PST) Date: Fri, 11 Nov 2011 14:31:15 -0800 From: Stanislav Sedov To: "Aaron D. Gifford" Message-Id: <20111111143115.5bf5d195.stas@FreeBSD.org> In-Reply-To: References: Organization: The FreeBSD Project X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: ruby@freebsd.org Subject: Re: What changed? (gem command missing in 1.9) 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: Fri, 11 Nov 2011 22:32:05 -0000 On Fri, 11 Nov 2011 14:55:06 -0700 "Aaron D. Gifford" mentioned: > Hi, > > I've been using RUBY_DEFAULT_VER=1.9 in my /etc/make.conf for months > now successfully to ensure that gem, ri, irb, ruby, etc. were > correctly symlinked in /usr/local/bin/ to the *19 commands. However > today upon building the /usr/ports/lang/ruby19 port and installing it > afresh, I discovered that the other *19 commands are there EXCEPT for > the gem command: > > user@host:/usr/local/bin$ ls -ld *19 > -rwxr-xr-x 2 root wheel 4401 Nov 11 14:48 erb19 > -rwxr-xr-x 2 root wheel 322 Nov 11 14:48 irb19 > -rwxr-xr-x 2 root wheel 701 Nov 11 14:48 rdoc19 > -rwxr-xr-x 2 root wheel 77 Nov 11 14:48 ri19 > -rwxr-xr-x 2 root wheel 5448 Nov 11 14:48 ruby19 > -rwxr-xr-x 2 root wheel 251 Nov 11 14:48 testrb19 > user@host:/usr/local/bin$ ls -l erb irb rdoc ri ruby testrb gem > ls: gem: No such file or directory > -rwxr-xr-x 2 root wheel 4401 Nov 11 14:48 erb > -rwxr-xr-x 2 root wheel 322 Nov 11 14:48 irb > -rwxr-xr-x 2 root wheel 701 Nov 11 14:48 rdoc > -rwxr-xr-x 2 root wheel 77 Nov 11 14:48 ri > -rwxr-xr-x 2 root wheel 5448 Nov 11 14:48 ruby > -rwxr-xr-x 2 root wheel 251 Nov 11 14:48 testrb > > What happened? What changed? Where did the gem command go? Is there > a new environment variable I need while building the port now? > Hi! The gem version distributed in ruby 1.9 is too old for some ports, so FreeBSD uses the rubygem from ports instead. To get the gem command back just install the ruby-gems port. -- Stanislav Sedov ST4096-RIPE () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments