Re: [gentoo-user] ruby problem preventing my world update

2021-02-14 Thread John Covici
On Sun, 14 Feb 2021 15:04:43 -0500,
Ionen Wolkens wrote:
> 
> [1  ]
> On Sun, Feb 14, 2021 at 02:41:31PM -0500, John Covici wrote:
> > Hi.  In trying to do my world update today, I have run into some kind
> > of ruby problem.
> > 
> > When doing the update portage had me add changes, seems mostly to do
> > with add ruby 3.0 as a ruby_target.  Now, I get the following at the
> > end of my world update log
> [...] 
> > 1: from /usr/lib64/ruby/2.5.0/rubygems.rb:17:in `'
> 
> Unlike python, ruby is not very good at selecting a version that works
> so eselect ruby actually matters. Here it's trying to 2.5.0 while it's
> half uninstalled and unsurprisingly fail.
> 
> Have a look at "eselect ruby list" and set a version that's actually in
> RUBY_TARGETS
> 
> With profile's default that'd be "eselect ruby set ruby26" or 30 if
> that's what you're using now.
> 

Thanks a lot, thatdidit, I wonder if ruby25 is used for anything,
maybe after this is done I will see if depclean can  unmerge it.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici wb2una
 cov...@ccs.covici.com



Re: [gentoo-user] ruby problem preventing my world update

2021-02-14 Thread Ionen Wolkens
On Sun, Feb 14, 2021 at 02:41:31PM -0500, John Covici wrote:
> Hi.  In trying to do my world update today, I have run into some kind
> of ruby problem.
> 
> When doing the update portage had me add changes, seems mostly to do
> with add ruby 3.0 as a ruby_target.  Now, I get the following at the
> end of my world update log
[...] 
>   1: from /usr/lib64/ruby/2.5.0/rubygems.rb:17:in `'

Unlike python, ruby is not very good at selecting a version that works
so eselect ruby actually matters. Here it's trying to 2.5.0 while it's
half uninstalled and unsurprisingly fail.

Have a look at "eselect ruby list" and set a version that's actually in
RUBY_TARGETS

With profile's default that'd be "eselect ruby set ruby26" or 30 if
that's what you're using now.

-- 
ionen


signature.asc
Description: PGP signature