sudo gem install jekyll 出错解决办法
2019-05-17 本文已影响0人
UlissesJr
安装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