From owner-freebsd-questions@freebsd.org Sun Sep 29 23:42:54 2019 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 29CD912DBCE for ; Sun, 29 Sep 2019 23:42:54 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from dnvrco-cmomta03.email.rr.com (dnvrco-outbound-snat.email.rr.com [107.14.73.230]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 46hMXY2Vh5z46Rx for ; Sun, 29 Sep 2019 23:42:52 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from [192.168.0.15] ([70.121.63.82]) by cmsmtp with ESMTPA id EipyiR9FBWnTiEiq1ixvD1; Sun, 29 Sep 2019 23:42:51 +0000 Date: Sun, 29 Sep 2019 18:42:46 -0500 From: Paul Schmehl Reply-To: Paul Schmehl To: Polytropon cc: FreeBSD Questions Subject: Re: How to tell what users Ruby Message-ID: In-Reply-To: <20190929082601.9152a485.freebsd@edvax.de> References: <20190929082601.9152a485.freebsd@edvax.de> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-CMAE-Envelope: MS4wfDH2/YWfi1Da4avuaaxObDo+DaT9fIIUJOpQ4UyOAkX/eUPoCI8CLCK+9dRWGRrieWvgv1l/k65Zlf3W81hpViiBBpPvwFXp7Qnrx/3zEaU0ZrppRlu1 a6vrt3U+Vn2Bb5oNG9G3/Wk0ivQLIggKTLgeYcrbLXdrxl3PD61DFZV1BIFwdMfYaSB6QIuRcwHI6nn8uaTgb/A+UA+lBs80DsN0vCaIikbVM3ir6fOGifPi X-Rspamd-Queue-Id: 46hMXY2Vh5z46Rx X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of pschmehl_lists@tx.rr.com designates 107.14.73.230 as permitted sender) smtp.mailfrom=pschmehl_lists@tx.rr.com X-Spamd-Result: default: False [-4.71 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[82.63.121.70.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:107.14.73.0/24]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[rr.com]; REPLYTO_EQ_FROM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[230.73.14.107.list.dnswl.org : 127.0.5.0]; HAS_REPLYTO(0.00)[pschmehl_lists@tx.rr.com]; IP_SCORE(-2.41)[ip: (-7.17), ipnet: 107.14.73.0/24(-2.68), asn: 7843(-2.14), country: US(-0.05)]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; RWL_MAILSPIKE_POSSIBLE(0.00)[230.73.14.107.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:7843, ipnet:107.14.73.0/24, country:US]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Sep 2019 23:42:54 -0000 --On September 29, 2019 at 8:26:01 AM +0200 Polytropon wrote: > On Sun, 29 Sep 2019 01:17:52 -0500, Paul Schmehl wrote: >> I'm running ruby 2.4 on a server. I want to upgrade to the new default >> version, so I checked /usr/ports/UDPATING. >> >> Among other things, it said this: "f you wish to update to the new >> default version, you need to first stop any software that uses ruby." >> >> Is there a utility I can use that will tell me that? How do I identify >> what programs are using ruby? > > Yes, pkg provides a part of that functionality; check "man pkg-info" > for the "--required-by" (or -r) flag. Make a list of the packages > that depend on the currently installed Ruby version: > > # pkg info -r ruby > When I ran this it listed no programs. Which is kind of odd, since I know portmaster uses ruby. Anyway, I just did a pkg delete, and nothing was listed, so I deleted it and installed 2.6. Paul Schmehl, Retired My opinions are my own. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell