We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3238415 commit f47d805Copy full SHA for f47d805
Rakefile
@@ -335,8 +335,16 @@ end
335
336
desc "Generates the Jekyll site"
337
task :generate do
338
+ require 'jekyll'
339
+ # workaound for LANG=C environment
340
+ module Jekyll::Convertible
341
+ Encoding.default_external = Encoding::UTF_8
342
+ end
343
ENV['TZ'] = TIMEZONE
- sh 'jekyll --no-auto --no-server'
344
+
345
+ options = Jekyll.configuration({'auto' => false, 'server' => false})
346
+ puts "Building site: #{options['source']} -> #{options['destination']}"
347
+ Jekyll::Site.new(options).process
348
end
349
350
desc "Generates the Jekyll site and starts local server"
0 commit comments