Simple ruby script to call R to compile markdown to html