How to emerge Ruby with tk/tcl support in Gentoo Linux. I've tried USE=tk emerge ruby, but it didn't work. Furthermore there is no tk use flag according https://packages.gentoo.org/packages/dev-lang/ruby
Ruby with Tk in Gentoo
gentoo;ruby;tcl
Let's test your Ruby installations.  In each version of Ruby you have installed, run this little snippet:require 'tk'root = TkRoot.new { title Hello, World! }TkLabel.new(root) do   text 'Hello, World!'   pack { padx 15 ; pady 15; side 'left' }endTk.mainloopWhat happens when you run this?SolutionHaving tested your installation, I went hunting, and found this little snippet of code in all ebuilds folder in /usr/portage/dev-lang/ruby:# The Tk module can no longer be built because the module code is no# longer compatible with newer stable versions.# https://bugs.gentoo.org/show_bug.cgi?id=500894I present Bug 500894 - dev-lang/tcl 8.5.15 and 8.6.1-r1 both needed on ~ but only 8.5.15 can be installed for your reading pleasure. Consider using another GUI toolkit.  Some choices available in the tree are:kde-base/qtrubydev-ruby/fxruby