Update ruby 1.8.7 to p374

This commit updates the ruby 1.8.7 branch with ruby patch level 374, which
addresses CVE-2013-4073.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>