require 'jekyll' task :default => [:buildsite] desc 'Build the site' task :buildsite do def Jekyll::env "production" end Jekyll::Commands::Build.process({}) end