安裝jekyll出錯 原因是ruby版本過低
安裝rvm報錯:
Checking requirements for osx.
About to install Homebrew, press `Enter` for default installation in `/usr/local`,
type new path if you wish custom Homebrew installation (the path needs to be writable for user)
: Requirements installation failed with status: 1.
原因也許在 homebrew上,下面的步驟,可以解決這個問題
首先執行
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-- homebrew 和 osx common line 更新完畢
再執行:
\curl -L [https://get.rvm.io](https://get.rvm.io/) | bash -s stable --rails --autolibs=enabled
-- ruby升級完畢
最后:
sudo gem install jekyll
Bingo