我正在尝试在32位Windows7电脑上安装Jekyll。我下载了ruby installer-32位和32位devkit并提取了unruby安装文件夹,我得到了一些ssh错误,通过临时切换到http而不是https来解决,然后使用
gem install bundler
但是gem install jekyll给出了以下错误
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing jekyll:
ERROR: Failed to build gem native extension.
C:/Ruby21/bin/ruby.exe -r ./siteconf20150109-5804-1k3wbva.rb extconf.rb
No such file or directory - C:/Ruby21/bin/ruby.exe -r ./siteconf20150109-5804-1k
3wbva.rb extconf.rb 2>&1
Gem files will remain installed in C:/Ruby21/lib/ruby/gems/2.1.0/gems/fast-stemm
er-1.0.2 for inspection.
Results logged to C:/Ruby21/lib/ruby/gems/2.1.0/extensions/x86-mingw32/2.1.0/fas
t-stemmer-1.0.2/gem_make.out
最佳答案
您需要安装rubyDevKit来修复您看到的错误。任何正常的ruby安装都有能力动态构建东西。
我将从Julian Thilo关于在Windows上安装Jekyll的出色说明开始:
Run Jekyll on Windows
如果您安装Ruby只是为了运行Jekyll,PortableJekyll将在快乐的杰基林。。。
关于ruby - jekyll的安装失败-Windows,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/27867240/