In chef, you can find the directory where rubygems creates executables in in node["languages"]["ruby"]["bin_dir"]
. You should thus never hardcode these paths in your recipes as they can change.
As for your exact question: In Ruby >= 1.9.1 and < 2.0.0, rubygems installs gems into a 1.9.1
directory to denote its usage of the 1.9.1 ABI. The intention was that gems compiled against that can be used interchangeably between different ruby versions using this ABI. However, in practice this turned out to be more difficult...
Ruby 2.0.0 uses the 2.0.0
directory. Again, you should not hardcode the paths but use the node attribute (set by OHAI using rubygem's own facilities).