opscode/chef — pull request #263 by kislyuk (2012-04-08 01:12:52+00:00)
Title: Make ubuntu10.04-gems compatible with Ubuntu 12.04 (precise)

Packages libruby-extras, libruby1.8-extras were deleted in Ubuntu 12.04. Make them install only if found in apt-cache. Without this change, chef bootstrap and things like knife-ec2 fail on Ubuntu 12.04.