1 |
On 2021-04-20 15:40+0100 Peter Humphrey <peter@××××××××××××.uk> wrote: |
2 |
|
3 |
> Hello list, |
4 |
> |
5 |
> Has anyone here succeeded in building a new system since the recent |
6 |
> Ruby language upgrade? I keep being thwarted by failure such as this |
7 |
> typical one: |
8 |
> |
9 |
> >>> Install dev-ruby/rake-13.0.3-r1 into /var/tmp/portage/dev-ruby/ |
10 |
> rake-13.0.3-r1/image |
11 |
> * Running install phase for ruby26 ... |
12 |
> * Running install phase for ruby27 ... |
13 |
> Traceback (most recent call last): |
14 |
> 3: from <internal:gem_prelude>:1:in `<internal:gem_prelude>' |
15 |
> 2: from <internal:gem_prelude>:1:in `require' |
16 |
> 1: from /usr/lib64/ruby/2.7.0/rubygems.rb:16:in `<top |
17 |
> (required)>' /usr/lib64/ruby/2.7.0/rubygems.rb:16:in `require': |
18 |
> cannot load such file -- rubygems/compatibility (LoadError) |
19 |
> * ERROR: dev-ruby/rake-13.0.3-r1::gentoo failed (install phase): |
20 |
> * Unable to generate gemspec file. |
21 |
> |
22 |
> Similar failures occur whatever profile I use (of the suitable ones), |
23 |
> and no matter whether I set amd64 or ~amd64 in make.conf. |
24 |
> |
25 |
> It's possible that I had some unhelpful USE flags set, I suppose, but |
26 |
> I did try to minimise them. |
27 |
> |
28 |
> In the end I went back to a month-old backup and updated that instead. |
29 |
> |
30 |
|
31 |
That looks like you need to select the new ruby version with eselect. |
32 |
It doesn't figure out the right version automatically, like python. |
33 |
See also: |
34 |
<https://archives.gentoo.org/gentoo-user/message/e7203a5fe084ab6f35351a814de3f6db>. |
35 |
|
36 |
-- |
37 |
Get my PGP key with `gpg --locate-keys tastytea@××××××××.de` or at |
38 |
<https://tastytea.de/tastytea.asc>. |