kejunmao / fastjekyll Goto Github PK
View Code? Open in Web Editor NEWAutoinstall Jekyll for windows
Autoinstall Jekyll for windows
Let me preface this by saying that I'm 90% sure this isn't your responsibility, but I figured I'd start here to see if you could help. :) I'm trying to see if I can get the install.bat file to use the latest Jekyll build (3.7.3), but doing so gives an error:
ERROR: Error installing jekyll: ERROR: Failed to build gem native extension.current directory: C:/Ruby24/lib/ruby/gems/2.4.0/gems/http_parser.rb-0.6.0/ext/ruby_http_parser
C:/Ruby24/bin/ruby.exe -r ./siteconf20180409-19920-1etd29q.rb extconf.rb
creating Makefilecurrent directory: C:/Ruby24/lib/ruby/gems/2.4.0/gems/http_parser.rb-0.6.0/ext/ruby_http_parser
make "DESTDIR=" clean
'make' is not recognized as an internal or external command,
operable program or batch file.current directory: C:/Ruby24/lib/ruby/gems/2.4.0/gems/http_parser.rb-0.6.0/ext/ruby_http_parser
make "DESTDIR="
'make' is not recognized as an internal or external command,
operable program or batch file.make failed, exit code 1
Gem files will remain installed in C:/Ruby24/lib/ruby/gems/2.4.0/gems/http_parser.rb-0.6.0 for inspection.
Results logged to C:/Ruby24/lib/ruby/gems/2.4.0/extensions/x86-mingw32/2.4.0/http_parser.rb-0.6.0/gem_make.out
1 gem installed
Powershell install
@cfjedimaster
I test it,is's work!
and run new powershell windows :PS C:\Users\kejun> jekyll -v jekyll 3.7.3script:
clear [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 $exe = "rubyinstaller-devkit-2.5.1-1-x64" $url = "https://github.com/oneclick/rubyinstaller2/releases/download/rubyinstaller-2.5.1-1/$exe.exe" $file = "$PSScriptRoot\file.exe" $fileis = Test-Path $file Write-Host **************************** Write-Host * AutoInstall-Jekyll * Write-Host * Powered-By-KeJun * Write-Host **************************** If (!$fileis){ Write-Host Download $exe ... Invoke-WebRequest -Uri $url -OutFile $file Write-Host Download $exe Done! } Write-Host Install $exe ... & "./$exe.exe" /silent | Out-Null Write-Host Install $exe Done! cd C:\Ruby25-x64\bin .\ruby.exe -v .\gem -v Write-Host Install Jekyll and Bundler ... .\gem install bundler jekyll Write-Host enjoy! pauseFails to install "jekyl"
Not the typo - here is the output:
ERROR: Could not find a valid gem 'jekyl' (= 3.6.2) in any repository ERROR: Possible alternatives: jeckyl, jekyll 1 gem installed
Recommend Projects
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
TensorFlow
An Open Source Machine Learning Framework for Everyone
Django
The Web framework for perfectionists with deadlines.
Laravel
A PHP framework for web artisans
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
Recommend Topics
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
web
Some thing interesting about web. New door for the world.
server
A server is a program made to process requests and deliver data to clients.
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Visualization
Some thing interesting about visualization, use data art
Game
Some thing interesting about game, make everyone happy.
Recommend Org
We are working to build community through open source technology. NB: members must have two-factor auth.
Microsoft
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba
Alibaba Open Source for everyone
D3
Data-Driven Documents codes.
Tencent
China tencent open source team.
Jobs
Jooble