问题已解决 解决方案
yum remove libtesseract libleptonica
For debian based systems
sudo apt-get install libleptonica-dev libtesseract-dev
For redhat base systems
sudo yum insall leptonica-devel tesseract-devel
export LD_LIBRARY_PATH=/usr/local/lib
Error setting up the tesseract OCR in gem in rails github issue centos 编译安装 tesseract Leptonica ruby-tesseract-ocr
求遇到过该问题的大神提供火力支援
nginx 的配置
passenger_root /root/.rvm/gems/ruby-2.1.3/gems/passenger-5.0.27;
passenger_ruby /root/.rvm/gems/ruby-2.1.3/wrappers/ruby;