pages-gem: error when I'm trying for make a local host
When I try to make a local host from my windows pc. I typed “Jekyll Serve” on the cmd. But There ahow a file missing like following.
PS D:\My documents\GCI\gci17.fossasia.org> gem install github-pages
Fetching: kramdown-1.14.0.gem (100%)
Successfully installed kramdown-1.14.0
Fetching: listen-3.0.6.gem (100%)
Successfully installed listen-3.0.6
Fetching: jekyll-sass-converter-1.5.0.gem (100%)
Successfully installed jekyll-sass-converter-1.5.0
Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...
ERROR: Error installing github-pages:
ERROR: Failed to build gem native extension.
current directory: C:/tools/ruby24/lib/ruby/gems/2.4.0/gems/commonmarker-0.17.7.1/ext/commonmarker
C:/tools/ruby24/bin/ruby.exe -r ./siteconf20171211-9464-34e8f8.rb extconf.rb
creating Makefile
current directory: C:/tools/ruby24/lib/ruby/gems/2.4.0/gems/commonmarker-0.17.7.1/ext/commonmarker
make "DESTDIR=" clean
'make' is not recognized as an internal or external command,
operable program or batch file.
current directory: C:/tools/ruby24/lib/ruby/gems/2.4.0/gems/commonmarker-0.17.7.1/ext/commonmarker
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:/tools/ruby24/lib/ruby/gems/2.4.0/gems/commonmarker-0.17.7.1 for inspection.
Results logged to C:/tools/ruby24/lib/ruby/gems/2.4.0/extensions/x64-mingw32/2.4.0/commonmarker-0.17.7.1/gem_make.out
I installed bundle, Ruby, Chocaletry, Jekyll,… But why makes error?
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (8 by maintainers)
Dear all, I got same issue when call “bundle install” in window. I had tried to re-installed and go with option 3 at time install MSYS2.
And everything go fine.
Good luck!
cmake
is not a requirement of buildingcommonmarker
as of 0.17.7.1 (which is what the user was acquiring above); you will need the Ruby DevKit installed on Windows, in order to providemake
.