【发布时间】:2014-10-31 23:19:44
【问题描述】:
我无法在 Ruby 中使用 gem 安装 Jekyll。这是输出消息:
D:\Ruby21\bin>gem install jekyll
Building native extensions. This could take a while...
ERROR: Error installing jekyll:
ERROR: Failed to build gem native extension.
D:/Ruby21/bin/ruby.exe extconf.rb
creating Makefile
make "DESTDIR=" clean
Makefile:238: *** multiple target patterns. Stop.
make "DESTDIR="
Makefile:238: *** multiple target patterns. Stop.
make failed, exit code 2
Gem files will remain installed in D:/Ruby21/lib/ruby/gems/2.1.0/gems/redcarpet-3.2.0 for inspection.
Results logged to D:/Ruby21/lib/ruby/gems/2.1.0/extensions/x86-mingw32/2.1.0/redcarpet-3.2.0/gem_make.out
D:\Ruby21\bin>
Unlike the other issue here,错误在第 222 行的 Makefile 中中断,我在第 238 行的 Makefile 中中断。
我可以说它与我的安装路径中的空格无关(因为我在 D 驱动器的根目录中安装了 Ruby)。但是那里的任何事情都超出了我的范围。
我使用的是 Windows Vista x86。我已经安装了 Ruby 2.1.0 stable。
有谁知道如何解决这个问题?
【问题讨论】:
-
如果您反对,请提供反馈,以便我成为更好的 Stack Overflow 成员。欢迎任何反馈。
标签: ruby makefile gem installation jekyll