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

你可能感兴趣的:(nginx,ext,Ruby,Rails)