遇到問題1.gem install charlock_holmes --version '0.6.8' 須要擴展包libicu python
遇到問題2.pip install pygments 須要安裝python pip(能夠會遇到ImportError: No module named setuptools)則須要安裝setuptools
mysql
遇到問題3. bundle install --without development test sqlite postgres --deployment 出現openssl不支持,須要從新編譯ruby,須要擴展庫libyaml
遇到問題4. bundle exec rake gitlab:app:setup RAILS_ENV=production 缺乏 rake-10.0.4,須要執行gem install rake
遇到問題5. Error installing charlock_holmes須要安裝libicu-devel.x86_64 0:4.2.1-9.1.el6_2
遇到問題6. mysql2的安裝,若是在官網自行下載mysql rpm包安裝的話,會遇到/usr/bin/ld: cannot find -lmysqlclient_rcollect2: ld 返回 1 這個錯誤,這個時候須要在gem install mysql2 的時候指定下添加額外參數-- --srcdir=path。好比:gem install mysql2 -- --srcdir=/usr/include/mysql/
git