puppetlabs/puppetdb — pull request #249 by MosesMendoza (2012-08-07 17:27:48+00:00)
Title: Add packaging support for 1.9

This commit adds support for packaging for ruby
1.9. It modifies the @plibdir path based on the
ruby version. RUBY_VER can be passed in as an
environment variable, and if none is passed,
RUBY_VER defaults to the ruby on the local host
as reported by facter. As is currently the case,
we use the sitelibdir in ruby 1.8, and with this
commit use vendorlibdir for 1.9. This commit
assumes when we package Puppet for 1.9 we
will use the vendorlibdir as well.

Signed-off-by: Moses Mendoza