scalarium/cookbooks — pull request #16 by Dunedan (2012-10-11 08:33:13+00:00)
Title: Added a workaround to install bundler if it's not available.

This workaround is necessary, because bundler is required, by a library (InternalGems in gem_support) which is loaded at every chef run before any resource is being executed (so gem_package does not help). As chef does not rely on bundler it may happen that bundler is not available (I assume it's provided with the initial os-image at scalarium). To work around the missing bundler exception I added a workaround to install bundler if it's not available. It's just an ugly hack. From my point of view the real solution should be to remove bundler as requirement of this library.