Skip to content

Instantly share code, notes, and snippets.

@adam-lynch
Created April 5, 2013 21:45
Show Gist options
  • Save adam-lynch/5322894 to your computer and use it in GitHub Desktop.
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
task :jekyll do
puts '* Changing the codepage'
`chcp 65001`
puts '* Running Jekyll server'
`jekyll --server`
end
@JamesJOliver
Copy link

Just what I was looking for - thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment