Created
April 5, 2013 21:45
-
-
Save adam-lynch/5322894 to your computer and use it in GitHub Desktop.
Rakefile to start the Jekyll server on Windows without CP850 string / character encoding errors. Just call: rake jekyll
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task :jekyll do | |
puts '* Changing the codepage' | |
`chcp 65001` | |
puts '* Running Jekyll server' | |
`jekyll --server` | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just what I was looking for - thanks!