puppetlabs/hiera — pull request #41 by haus (2012-04-24 00:11:52+00:00)
Title: (#14147) Handle lack of rubygems gracefully

Hiera previously expected rubygems to be available. When running from source or
a package, rubygems may not be available. This fix rescues the load error on
rubygem and silently ignores it so that if rubygems is present, it can be used,
but if it isn't present, hiera can still function.
(Borrowed the method used in puppet)