Redcore Linux Project Forum

Unfortunately, no one can be told what Redcore Linux is. You have to see it for yourself!

You are not logged in.

#1 2024-11-20 13:56:08

devosalain
Member
Registered: 2024-03-10
Posts: 22

[Solved] How to install ruby

ACCEPT_KEYWORDS="~amd64" sisyphus install ruby
returns :
!!! All ebuilds that could satisfy "ruby" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-lang/ruby-3.3.6::gentoo (masked by: package.mask)
- dev-lang/ruby-3.3.5::gentoo (masked by: package.mask)
- dev-lang/ruby-3.3.4-r1::gentoo (masked by: package.mask)
- dev-lang/ruby-3.2.6::gentoo (masked by: package.mask)
- dev-lang/ruby-3.2.5::gentoo (masked by: package.mask)
- dev-lang/ruby-3.2.4-r1::gentoo (masked by: package.mask)
- dev-lang/ruby-3.2.4::gentoo (masked by: package.mask)
- dev-lang/ruby-3.1.6-r1::gentoo (masked by: package.mask)
- dev-lang/ruby-3.1.5::gentoo (masked by: package.mask)
- dev-lang/ruby-3.1.4-r3::gentoo (masked by: package.mask)

In my /etc/portage/package.mask i have :
dev-lang/ruby
dev-lang/ruby::gentoo
dev-lang/ruby33
dev-lang/ruby32
dev-lang/ruby31
>=dev-lang/ruby-3.1.4-r3

What am i doing wrong ?

Offline

#2 2024-11-20 22:42:15

V3n3RiX
Administrator
Registered: 2021-11-04
Posts: 92

Re: [Solved] How to install ruby

Well, 1st of all, ruby version 3.1.4-r3 is already preinstalled by default. And 2nd of all, it seems that you have masked every single ruby package in the tree, and as a consequence, you cannot install any of them, and somehow you masked the default preinstalled version as well. If you remove the last line, sisyphus will happily reinstall the default version.

Offline

#3 2024-11-20 23:29:16

devosalain
Member
Registered: 2024-03-10
Posts: 22

Re: [Solved] How to install ruby

I removed all package.mask for ruby.
I set package.use ruby_targets_ruby31
And i uninstalled ruby-3.2.3.
eselect ruby set 1
Now everything works fine.
Thanks.

Last edited by devosalain (2024-11-20 23:30:51)

Offline

#4 2024-11-21 12:27:08

V3n3RiX
Administrator
Registered: 2021-11-04
Posts: 92

Re: [Solved] How to install ruby

devosalain wrote:

I set package.use ruby_targets_ruby31


This one is already the default. Having it in package.use is redundant, but if it works for you, you can leave it as is.

Offline

Board footer

Powered by FluxBB