Date: Sun, 29 Sep 2019 08:26:01 +0200 From: Polytropon <freebsd@edvax.de> To: Paul Schmehl <pschmehl_lists@tx.rr.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: How to tell what users Ruby Message-ID: <20190929082601.9152a485.freebsd@edvax.de> In-Reply-To: <ED82496B44D510B8171582DB@Pauls-MacBook-Pro.local> References: <ED82496B44D510B8171582DB@Pauls-MacBook-Pro.local>
next in thread | previous in thread | raw e-mail | index | archive | help
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 Then check what program from the list is currently running. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190929082601.9152a485.freebsd>