0

我已经安装了这个:

# Install curl and sudo
apt-get install curl sudo

# 3 steps in 1 command :)
curl https://raw.github.com/gitlabhq/gitlab-recipes/master/install/debian_ubuntu.sh | sh

教程在这里...

但是当我尝试第 4 步时

sudo gem install charlock_holmes --version '0.6.8'

我有这个错误 - 有人可以帮助我吗?

$ sudo gem install charlock_holmes --version '0.6.8'
/usr/local/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
ERROR:  Loading command: install (LoadError)
cannot load such file -- zlib
ERROR:  While executing gem ... (NameError)
uninitialized constant Gem::Commands::InstallCommand
$ 

我的错误是什么?

4

1 回答 1

0

好的,我找到了一个解决方案,这很简单......

我不得不安装 libyaml 并重新安装 ruby​​。

看看这个网站

于 2012-10-05T19:23:18.730 回答