aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorHaacked <haacked@gmail.com>2013-11-28 19:52:03 -0800
committerHaacked <haacked@gmail.com>2013-11-28 19:52:03 -0800
commitcf4af1d82551401e626ca28aa5f00e4b0821685e (patch)
treed0e37a16b6226a1c13c6d119fdc62073280bdd44 /Rakefile
parent64ba60322571d0735a3220cdf8dba657703f64da (diff)
downloadmy_new_personal_website-cf4af1d82551401e626ca28aa5f00e4b0821685e.tar.xz
my_new_personal_website-cf4af1d82551401e626ca28aa5f00e4b0821685e.zip
Set the codepage to 65001 before generating
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 0a1cfe22..4f3360c4 100644
--- a/Rakefile
+++ b/Rakefile
@@ -51,6 +51,8 @@ end
desc "Generate jekyll site"
task :generate do
raise "### You haven't set anything up yet. First run `rake install` to set up an Octopress theme." unless File.directory?(source_dir)
+ puts '## Setting the codepage to 65001'
+ `chcp 65001`
puts "## Generating Site with Jekyll"
system "compass compile --css-dir #{source_dir}/stylesheets"
system "jekyll"