安装Ruby gem Jekyll时出错

时间:2015-06-04 10:27:19

标签: ruby-on-rails ruby jekyll

无法在Mac上安装Jekyll。

我用:

sudo gem install jekyll

但我有一个错误:

Building native extensions.  This could take a while...
ERROR:  Error installing jekyll:
    ERROR: Failed to build gem native extension.



Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/yajl-ruby-1.2.1 for inspection.
Results logged to /Library/Ruby/Gems/2.0.0/gems/yajl-ruby-1.2.1/ext/yajl/gem_make.out

什么错了?如何解决?

gem -v
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
2.0.14

0 个答案:

没有答案