解决windows10无法安装 jekyll、MSYS2

安装的路径中,连同命名,不要出现空格!不要出现空格!不要出现空格
我的安装路径:D:\Program Files\Ruby27-x64--------Program Files,出现了空格,搞了大半天!也不要出现()符号。
解决windows10无法安装 jekyll、MSYS2

windows 平台还需要安装wdm
解决windows10无法安装 jekyll、MSYS2

参考链接1
参考链接2

错误: ruby/2.7.0/socket.rb:201:in ‘bind’: Permission denied - bind(2) for 127.0.0.1:4000 (Errno::EACCES)
是端口号被占用了,需要换一个端口号

参考链接3

Error staring Jekyll
When you start Jekyll and you get the following message, then probably some other process is already running at the port:

C:/app_scoop/apps/ruby/2.7.0-1/lib/ruby/2.7.0/socket.rb:201:in ‘bind’: Permission denied - bind(2) for 127.0.0.1:4000 (Errno::EACCES)

To find out if something is blocking your port (in PowerShell):

PS C:\Users\xxx> netstat -ano -p tcp | sls 4000

TCP 0.0.0.0:4000 0.0.0.0:0 LISTENING 9000
The last column gives you the PID of the running process, so you need to find it out.

One of the simplest way is to do it via tasklist:

PS C:\Users\xxx> tasklist | sls 9000

nxd.exe 9000 Services 0 5 328 K
The default port is 4000, but as shown there is already nomachine’s nxd.exe running on the port. The solution is to change the default port via the --port setting.

To start Jekyll on non-default port 4001 you need to run it like this:
jekyll serve --baseurl=’’ --port 4001
Regenerate tags
If new an article is written with new tag(s) you need to generate tag(s) for the tags page. For that you need to run script which is automagically prepared at:

http://127.0.0.1:4001/admin/