1 |
On 2021.10.27 09:59, Peter Humphrey wrote: |
2 |
> On Wednesday, 27 October 2021 14:44:09 BST Pascal Schorde wrote: |
3 |
> |
4 |
> > did you have dev-ruby/rubygems installed? See |
5 |
> > https://jekyllrb.com/docs/#prerequisites |
6 |
> |
7 |
> Yes, but at version 3.0: |
8 |
> |
9 |
> $ eix dev-ruby/rubygems |
10 |
> [I] dev-ruby/rubygems |
11 |
> Available versions: 3.0.3^t 3.0.9^t 3.1.6^t (~)3.2.14^t{tbz2} |
12 |
> [M] |
13 |
> (~)3.2.22^t{tbz2} {server test RUBY_TARGETS="ruby26 ruby27 ruby30"} |
14 |
> Installed versions: 3.2.14^t{tbz2}(09:19:26 10/26/21)(-server |
15 |
> -test |
16 |
> RUBY_TARGETS="ruby26 ruby30 -ruby27") |
17 |
> |
18 |
> One possibility occurred to me: is having two ruby versions installed |
19 |
> at once |
20 |
> the problem? I already had 3.0 installed, the current Gentoo version, |
21 |
> but |
22 |
> jekyll needs 2.6. To test this idea, I'd have to downgrade the whole |
23 |
> system to |
24 |
> 2.6; I don't know whether that's even feasible now. |
25 |
Ruby is slotted, so you can have 2.6 and 3.0 installed together. You |
26 |
would then need to rebuild rubygems to target both of them. There is |
27 |
also a virtual/rubygems. I'm not really sure of it's function, but it |
28 |
seems to just specify a minimum version of rubygems per targetted |
29 |
version of ruby. |