From c1b2b43b321de6d03e857dec14e2a3d1cea4419b Mon Sep 17 00:00:00 2001 From: Hong Xu Date: Sun, 27 May 2012 13:49:35 +0800 Subject: [PATCH] Use a more portable way to create .nojekyll file when deploying to github pages. --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 78ea87ef863..2130a7f1d74 100644 --- a/Rakefile +++ b/Rakefile @@ -295,7 +295,7 @@ multitask :push do puts "\n## copying #{public_dir} to #{deploy_dir}" cp_r "#{public_dir}/.", deploy_dir cd "#{deploy_dir}" do - system "touch .nojekyll" + File.new(".nojekyll", "w").close system "git add ." system "git add -u" message = "Site updated at #{Time.now.utc}"