Skip to content

Instantly share code, notes, and snippets.

@cgcostume
Last active January 12, 2018 16:33
Show Gist options
  • Save cgcostume/9f24dede809aada49db3cae432e50efb to your computer and use it in GitHub Desktop.
Save cgcostume/9f24dede809aada49db3cae432e50efb to your computer and use it in GitHub Desktop.
install jekyll via choco in power shell
choco install ruby -version 2.2.4
# download at https://rubygems.org/downloads/rubygems-update-2.7.4.gem
gem install --local C:\tools\rubygems-update-2.7.4.gem
update_rubygems
gem uninstall rubygems-update -x
choco install ruby2.devkit
$env:Path +=";C:\tools\DevKit2\bin"
cd C:\tools\DevKit2\
ruby .\dk.rb init
# add ruby path to config.yml in devkit, e.g., C:/tools/ruby22
ruby .\dk.rb install
gem install ruby_dep -v 1.3.1
gem install jekyll
# additional for cginternals website
gem install tzinfo
gem install tzinfo-data
@InvictusRMC
Copy link

InvictusRMC commented Jan 12, 2018

Thank you very much. I could not find any up to date guide on this. I am still unable to load the preview using the command bundle exec jekyll serve

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