rubygems/rubygems — pull request #965 by darix (2014-07-04 09:46:58+00:00)
Title: Add a buildroot option to gem install.

This option helps packagers, who want to repackage gems in deb/rpm.
It is also needed to make tools/rbinstall.rb work in ruby 2.2.
Without this patch and another small patch for rbinstall.rb, "make
install" ignores DESTDIR when installing the stdlib gems.