读书人

rails服务器部署有关问题及解决

发布时间: 2012-12-19 14:13:14 作者: rapoo

rails服务器部署问题及解决

sqlite3 安装后不能执行:

export LD_LIBRARY_PATH=/usr/local/lib

?

下载安装 rails 相关:

apt-get update

?

When I ran passenger-install-nginx-module command, I got the following error:


OpenSSL support for Ruby... not found

Even though I installed the gem as per the installer instructions, I was getting the same error. Then I saw a discussion which said that I needed to compile and install openssl with the following commands:


cd /usr/local/src/ruby-1.9.2-p0/ext/openssl
ruby extconf.rb
make
make install

读书人网 >网络基础

热点推荐