Skip to content

Instantly share code, notes, and snippets.

@icalvo
Created January 29, 2017 20:56
Show Gist options
  • Save icalvo/f56af4c5a5078fe5f04dbfc6f4697947 to your computer and use it in GitHub Desktop.
Save icalvo/f56af4c5a5078fe5f04dbfc6f4697947 to your computer and use it in GitHub Desktop.
iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex
choco install ruby -y
$env:Path = [System.Environment]::GetEnvironmentVariable("Path","Machine")
$hsg = iwr -Uri https://rubygems.org/pages/download
$hsg.Links | where class -eq 'download__format' | where innerText -eq 'zip' | % {iwr -Uri $_.href -OutFile rubygems.zip}
Expand-Archive .\rubygems.zip
cd rubygems
ls | cd
ruby setup.rb
cd ..
cd ..
rm -r -fo rubygems
rm .\rubygems.zip
gem install jekyll bundler
jekyll new appdir
cd appdir
jekyll build
jekyll serve
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment