Last active
January 12, 2018 16:33
-
-
Save cgcostume/9f24dede809aada49db3cae432e50efb to your computer and use it in GitHub Desktop.
install jekyll via choco in power shell
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
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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