according to the upstream rails4 supports ruby25, however it is NOT tagged so in Gentoo. See the following URL: https://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html 1.3 Ruby versions Rails 6 requires Ruby 2.5.0 or newer. Rails 5 requires Ruby 2.2.2 or newer. Rails 4 prefers Ruby 2.0 and requires 1.9.3 or newer. currently, RUBY_TARGETS has both 24 and 25 ruby. However, some packages like net-analyzer/metasploit have ruby24 only listed. That causes massive rails/active* blocks and users would need to mask ruby25 in order to resolve it. Please add ruby25 to the following packages: https://github.com/pentoo/pentoo-overlay/commit/84ba1bb56efd259467b23695e9f67e1664935c16 https://github.com/pentoo/pentoo-overlay/commit/5b963dde33239b3dbde8394b6bbf24e21807623c it's basically all rails:4.2/active*:4.2 and dev-ruby/arel:6.0
https://github.com/pentoo/pentoo-overlay/commit/2541e618fde4f9bf6c5512a9b2bc0001ae67a3a1
Rails 4.2 is no longer supported by upstream so it should really be masked for removal. The reason this has not been done yet is to give metasploit the maximum amount of time to update to a supported Rails version, rather than masking it together with Rails 4.2. Rails 4.2 will be masked for removal either when a rails security issue is found in supported rails versions, or when ruby24 support runs out at the end of march. Given that I don't see any activity upstream I assume the most likely outcome is for metasploit to be masked for removal as well. If it is already clear that this is where we are heading then we can also mask everything now, but I'd like to get Zero_Chaos's opinion on that first.
I'm not sure that it's not about metasploit only. Any package which requires rails:4 (=dev-ruby/activemodel-4 etc) is currently affected. As a wild guess (I'm unable to test right now, since I have pushed the fix), here is the list: dev-ruby/actionpack-xml_parser dev-ruby/protected_attributes dev-ruby/haml-rails dev-ruby/sprockets-rails
dev-ruby/rails:4.2 (and packages depending on it) has now been masked for removal.