anchor.diff:  pushd D:\home\site\deployments\tools 
   if not exist r md r
   cd r 
  -if exist ruby-2.1.5-x64-mingw32 goto end
  +if exist ruby-2.2.2-x64-mingw32 goto end
   
   echo No Ruby, need to get it!
   
   REM Get Ruby and Rails
  -REM 32bit
  -REM curl -o rubyrails193.zip http://dl.bintray.com/oneclick/rubyinstaller/ruby-2.1.5-i386-mingw32.7z?direct
  -REM 64bit
  -curl -o ruby215.zip -L http://dl.bintray.com/oneclick/rubyinstaller/ruby-2.1.5-x64-mingw32.7z?direct
  +curl -o ruby222.zip -L http://dl.bintray.com/oneclick/rubyinstaller/ruby-2.2.2-x64-mingw32.7z?direct
   REM Azure puts 7zip here!
   echo START Unzipping Ruby
  -%_7ZIP% x -y ruby215.zip > rubyout
  +%_7ZIP% x -y ruby222.zip > rubyout
   echo DONE Unzipping Ruby
   
   REM Get DevKit to build Ruby native gems  
  
positive.code: 
  REM Put Ruby in Path
  REM You can also use %TEMP% but it is cleared on site restart. Tools is persistent.
  SET PATH=%PATH%;D:\home\site\deployments\tools\r\ruby-2.1.5-x64-mingw32\bin
  
  SET _7ZIP="%PROGRAMFILES%\7-Zip\7z.exe"
  if not exist %_7ZIP% SET _7ZIP=d:\7zip\7za
  
negative.code: 
  REM Tell DevKit where Ruby is
  echo --- > config.yml
  echo - D:/home/site/deployments/tools/r/ruby-2.2.2-x64-mingw32 >> config.yml
  
  REM Setup DevKit
  ruby DevKit\dk.rb install
  