CHEF-4456: Knife cookbook site share fails with Ruby 2

http://tickets.opscode.com/browse/CHEF-4456