0

我目前正在尝试安装 jekyll gem,但它失败并出现以下错误。有人可以帮我找出原因吗?请注意,我是红宝石/宝石菜鸟。直到现在我才使用 gem install 并且一直很满意。非常感谢!

sudo gem install jekyll
Building native extensions.  This could take a while...
/mboehm.rvm/rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/rubygems/ext/builder.rb:54: warning: Insecure world writable dir /Volumes/Macintosh HD/Users/mboehm in PATH, mode 040777
ERROR:  Error installing jekyll:
    ERROR: Failed to build gem native extension.

    /mboehm.rvm/rubies/ruby-2.0.0-p0/bin/ruby extconf.rb
/mboehm.rvm/rubies/ruby-2.0.0-p0/bin/ruby: invalid option -H  (-h will show valid options) (RuntimeError)


Gem files will remain installed in /mboehm.rvm/rubies/ruby-2.0.0-p0/lib/ruby/gems/2.0.0/gems/**fast-stemmer-1.0.2** for inspection.
Results logged to /mboehm.rvm/rubies/ruby-2.0.0-p0/lib/ruby/gems/2.0.0/gems/fast-stemmer-1.0.2/ext/gem_make.out
4

1 回答 1

2

嘿,我通过将我的卷从“Macintosh HD”重命名为没有空格的名称来解决这个问题(对我来说:“HDD”)

在 ruby​​ 2.0.0 之前它从来都不是问题

于 2013-08-05T14:03:17.260 回答