On 2021.10.27 09:59, Peter Humphrey wrote:
On Wednesday, 27 October 2021 14:44:09 BST Pascal Schorde wrote:

> did you have dev-ruby/rubygems installed? See
> https://jekyllrb.com/docs/#prerequisites

Yes, but at version 3.0:

$ eix dev-ruby/rubygems
[I] dev-ruby/rubygems
Available versions: 3.0.3^t 3.0.9^t 3.1.6^t (~)3.2.14^t{tbz2} [M]
(~)3.2.22^t{tbz2} {server test RUBY_TARGETS="ruby26 ruby27 ruby30"}
Installed versions: 3.2.14^t{tbz2}(09:19:26 10/26/21)(-server -test
RUBY_TARGETS="ruby26 ruby30 -ruby27")

One possibility occurred to me: is having two ruby versions installed at once the problem? I already had 3.0 installed, the current Gentoo version, but jekyll needs 2.6. To test this idea, I'd have to downgrade the whole system to
2.6; I don't know whether that's even feasible now.
Ruby is slotted, so you can have 2.6 and 3.0 installed together. You would then need to rebuild rubygems to target both of them. There is also a virtual/rubygems. I'm not really sure of it's function, but it seems to just specify a minimum version of rubygems per targetted version of ruby.

Reply via email to