How to tell what users Ruby

Paul Schmehl pschmehl_lists at tx.rr.com
Sun Sep 29 23:42:54 UTC 2019


--On September 29, 2019 at 8:26:01 AM +0200 Polytropon <freebsd at edvax.de> 
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



More information about the freebsd-questions mailing list