Lastly I faced problems with installing Ruby 1.9 on Gentoo distros. First I unmasked Ruby 1.9.2 version. I use for that autounmask tool:
But after that I received error on rdoc installation:
emerge: there are no ebuilds to satisfy ">=dev-ruby/rdoc-2.5.11[ruby_targets_ruby19]". (dependency required by "dev-lang/ruby-1.9.2" [ebuild]) (dependency required by "ruby" [argument])
How to resolve that problem and install Ruby 1.9?
(add line in /etc/make.conf)
echo "-ruby_targets_ruby19" >> /etc/portage/profile/use.mask
I know that this is very unintuitive but it's how things working now in portage for USE flags unmasking. That all you should have Ruby 1.9 installed and ready to work.