Last active
August 29, 2015 14:11
-
-
Save lholman/da8c88014552645cb05d to your computer and use it in GitHub Desktop.
installJekyllOnWindows
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
#Original instructions courtesy of 'Run Jekyll on Windows' http://jekyll-windows.juthilo.com/ and https://gist.github.com/luislavena/f064211759ee0f806c88 | |
#Install Ruby and Ruby.DevKit using BoxStarter and Chocolatey | |
START http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/lholman/f6f789cfd1dc994fd707/raw/fadb7634f275ee8f6486b60bb36c49326457d081/developerWindowsBoxStarterScript.txt | |
#Config Ruby and Ruby.DevKit | |
cd c:\tools\DevKit | |
ruby dk.rb init | |
Add-Content .\config.yml "`n- C:/tools/DevKit" | |
runy dk.rb install | |
#Install Jekyll | |
gem install jekyll | |
#Optionally fix Ruby 'SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed' scripted from https://gist.github.com/luislavena/f064211759ee0f806c88 | |
#$path = gem which rubygems | |
#$path = $path -replace "/", "\" -replace ".rb", "" | |
#cd $path | |
#Invoke-WebRequest "https://raw.githubusercontent.com/rubygems/rubygems/master/lib/rubygems/ssl_certs/AddTrustExternalCARoot-2048.pem" -OutFile ".\ssl_certs\AddTrustExternalCARoot-2048.pem" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment