对于任何具有依赖关系的 gem,我都会得到以下信息(名称根据需要进行了更改):
尝试1:
sudo gem install mojombo-jekyll -s http://gems.github.com/
ERROR: Error installing mojombo-jekyll:
mojombo-jekyll requires RedCloth (= 4.1.0, runtime)
尝试2:
sudo gem install mojombo-jekyll -s http://gems.github.com/ -y
INFO: `gem install -y` is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
ERROR: Error installing mojombo-jekyll:
mojombo-jekyll requires RedCloth (= 4.1.0, runtime)
尝试 3:
sudo gem install mojombo-jekyll -s http://gems.github.com/ --include-dependencies
INFO: `gem install -y` is now default and will be removed
INFO: use --ignore-dependencies to install only the gems you list
ERROR: Error installing mojombo-jekyll:
mojombo-jekyll requires RedCloth (= 4.1.0, runtime)