We kind of need this; if we can't determine the proper ruby bin directory of where the gems are installed we break Ubuntu and CentOS here.

Is node['languages']['ruby'] nil for you on Gentoo?