boxen/puppet-ruby — pull request #76 by charliesome (2014-01-10 03:20:02+00:00)
Title: Pass ldflags_dirs to ruby-build

This tells ruby-build to ensure `$PREFIX/lib` exists before calling Ruby's `./configure` to work around build issues caused Ruby 2.1.0's stricter checking of `LDFLAGS` and ruby-build passing lib directories in `LDFLAGS` that don't exist.

cc @dgoodlad @wfarr