anchor.diff:  
   if ruby -e "exit(%x{gem --version} < \"1.6.2\" ? 0 : -1 )" ; then
     echo -e "`date` \n\n**** \n**** Updating rubygems:\n****\n"
  -  gem update --system
  +  # screw you Debian
  +  REALLY_GEM_UPDATE_SYSTEM=1 gem update --system
     # screw you rubygems
  -  for foo in /usr/lib/ruby/site_ruby/*/rubygems/deprecate.rb ; do sudo sed -i.bak 's!@skip ||= false!true!' "$foo" ; done
  +  for foo in /usr/lib/ruby/site_ruby/*/rubygems/deprecate.rb
  +  do
  +    # Don't have to be any such deprecations, in which case $foo won't exist
  +    [ -f "$foo" ] && sudo sed -i.bak 's!@skip ||= false!true!' "$foo"
  +  done
   fi
   
   echo -e "`date` \n\n**** \n**** Installing chef:\n****\n"
  
positive.code: bash -c '
  
  # This is the ubuntu-10.04-cluster_chef script from infochimps, which
  # is based on the ubuntu-10.04-gems script from opscode, but it
  
negative.code: echo -e "`date` \n\n**** \n**** Adding chef client runit scripts:\n****\n"
  (service chef-client stop >/dev/null 2>&1 ; sleep 1 ; killall chef-client 2>/dev/null) || true
  mkdir -p /var/log/chef /var/chef /etc/service /etc/sv/chef-client/{log/main,supervise} 
  cat > /etc/sv/chef-client/log/run <<EOP
  #!/bin/bash
  exec svlogd -tt ./main
  EOP
  cat > /etc/sv/chef-client/run <<EOP
  #!/bin/bash
  exec 2>&1
  exec /usr/bin/env chef-client -i 43200 -s 20 -L /var/log/chef/client.log
  EOP
  chmod +x  /etc/sv/chef-client/log/run /etc/sv/chef-client/run
  ln -nfs /usr/bin/sv /etc/init.d/chef-client
  
  