oneclick / rubyinstaller2

MSYS2 based RubyInstaller for Windows
https://rubyinstaller.org
BSD 3-Clause "New" or "Revised" License
646 stars 248 forks source link

'jekyll' is not recognized as an internal or external command, operable program or batch file #241

Closed kcindric closed 2 years ago

kcindric commented 2 years ago

What problems are you experiencing?

'jekyll' is not recognized as an internal or external command, operable program or batch file. although I restarted my system and Jekyll is properly installed:

image

Steps to reproduce

Install Ruby+DevKit and after that gem install jekyll bundler. Close cmd and restart system. When I run jekyll -v I get the message above.

Tried reinstalling with gem install jekyll bundler but everything is already installed.

What's the output from ridk version?

ruby:
  path: C:/Ruby30-x64
  version: 3.0.2
  platform: x64-mingw32
  cc: gcc.exe (Rev5, Built by MSYS2 project) 10.3.0
ruby_installer:
  package_version: 3.0.2-1
  git_commit: 80c9ca9
msys2:
  path: C:\msys64
sh: GNU bash, version 4.4.23(1)-release (x86_64-pc-msys)
os: Microsoft Windows [Version 10.0.19042.1110]
kcindric commented 2 years ago

Found the solution: MYSY2 and MINGW development toolchain both need to be installed so jekyll could be installed (as MINGW is needed for C libs).