opscode/ohai — pull request #75 by Arelius (2012-04-16 23:54:40+00:00)
Title: Added languages[:ruby][:gem_bin_dir]

Recipes like bluepill, and others that rely on installed gem locations often contain lines like:

default["bluepill"]["bin"] = "#{languages[:ruby][:bin_dir]}/bluepill"

yet languages[:ruby][:bin_dir] is the directory that the `ruby` executable is in which may on some systems be different than the directories in which gems are installed to, this adds an additional path that includes the ruby gem executable directory, the same one which gets displayed by `gem env` so that new and existing recipes can be better designed to run on more systems.