Skip to content

Instantly share code, notes, and snippets.

@lholman
Last active August 29, 2015 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lholman/da8c88014552645cb05d to your computer and use it in GitHub Desktop.
Save lholman/da8c88014552645cb05d to your computer and use it in GitHub Desktop.
installJekyllOnWindows
#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