Created
January 29, 2017 20:56
-
-
Save icalvo/f56af4c5a5078fe5f04dbfc6f4697947 to your computer and use it in GitHub Desktop.
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
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