2012-10-05 30 views
0

失敗,我已經安裝了這一點:Gitlab的 「寶石」 製作安裝

# 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 

Tutorial here...

但是當我嘗試第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 
$ 

我的錯誤是什麼?

回答

0

好,我找到了一個解決方案,這是很簡單的......

我必須安裝libyaml並重新安裝紅寶石。

只看看這個site