简体   繁体   English

Windows上的gem install jekyll错误

[英]gem install jekyll error on windows

I have created new twitter-bootstrap project on Webstorm 7 and updated npm then executed the grunt comment I got the below error in Jekyll 我在Webstorm 7上创建了新的twitter-bootstrap项目并更新了npm,然后执行了咕unt的注释,我在Jekyll中收到以下错误

Running "jekyll:docs" (jekyll) task Warning: 
Please install Jekyll before running this task. Use --force to continue.
Aborted due to warnings.

Then I followed the steps as given by ( http://www.madhur.co.in/blog/2011/09/01/runningjekyllwindows.html ) URL now I am getting error on 然后我按照( http://www.madhur.co.in/blog/2011/09/01/runningjekyllwindows.html)URL给出的步骤进行操作,现在我遇到了错误

gem install jekyll

step. 步。 Please look at the below error log on gem_make.out file 请在gem_make.out文件中查看以下错误日志

C:/Ruby200/bin/ruby.exe extconf.rb creating Makefile C:/Ruby200/bin/ruby.exe extconf.rb创建Makefile

make "DESTDIR=" generating stemmer-i386-mingw32.def compiling porter.c make: execvp: gcc: Bad file number make: * [porter.o] Error 127 使“ DESTDIR =”生成stemmer-i386-mingw32.def编译porter.c。使:execvp:gcc:错误的文件号使: * [porter.o]错误127

Please guide me how to come over this issue. 请指导我如何解决这个问题。

Here is a guide on How to Run Jekyll on Windows . 这是有关如何在Windows运行Jekyll的指南。

It covers installing the Ruby DevKit, which is most likely what you're missing. 它涵盖了安装Ruby DevKit,这很可能是您所缺少的。

Alternately, and assuming you're on Windows, you could install Ruby using scoop , it's very simple to use and it will install the DevKit along with Ruby. 或者,假设您使用的是Windows,则可以使用scoop安装Ruby,它使用起来非常简单,它将与Ruby一起安装DevKit。

I hope this helps. 我希望这有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM