我目前正在尝试安装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
答案 0 :(得分:2)
嘿我通过将我的音量从“Macintosh HD”重命名为没有空格的名称来解决这个问题(对我来说:“HDD”)
直到ruby 2.0.0
才出现问题