2011-02-05 110 views
8

我下面the instructions here,所以我在我的OSX機器上運行gem install jekyll,並得到了以下內容:如何在OSX上安裝Jekyll?

WARNING: Installing to ~/.gem since /Library/Ruby/Gems/1.8 and 
     /usr/bin aren't both writable. 
WARNING: You don't have /Users/erikvold/.gem/ruby/1.8/bin in your PATH, 
     gem executables will not run. 
ERROR: Error installing jekyll: 
liquid requires RubyGems version >= 1.3.7 

但我沒有看到有關如何在上面的說明處理這個指令。

回答

15

嘗試更新gem第一:

$ gem update --system 

如果你得到許可的錯誤,你必須求助於sudo,這和所有其他的寶石命令:

$ sudo gem update --system