Changed attribute types from "boolean" to "string", because according to http://wiki.opscode.com/display/chef/Metadata#Metadata-attribute only "string" and "array" are allowed.
Added a workaround to install bundler if it's not available.
This workaround is necessary, because bundler is required, by a library which is loaded at every chef run before any resource is being executed. 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.