opscode-cookbooks/passenger_apache2 — pull request #11 by anujbiyani (2013-01-29 23:08:01+00:00)
Title: Cook 2293/reload attributes

If a user of this cookbook also installs ruby, then when chef-client is first run on the node the Ohai attribute languages[:ruby][:gems_dir] points to the embedded version of ruby.
This pull request adds a block that reloads the attributes for this cookbook whenever Ohai's reload action is run. In this way, if ruby is installed from another cookbook that cookbook need only tell Ohai to reload its attributes and the passenger_apache2 cookbook will in turn update its attributes.