启动 nginx 时说:
Unable to start the Phusion Passenger watchdog because its executable (/usr/lib/phusion-passenger/agents/PassengerWatchdog) does not exist
下面是 nginx.conf
worker_processes 1;
events {
worker_connections 1024;
}
http {
passenger_root /Users/tomwey/.rvm/gems/ruby-1.9.3-p194@keke/gems/passenger-3.0.12;
passenger_ruby /Users/tomwey/.rvm/wrappers/ruby-1.9.3-p194@keke/ruby;
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
server_name keke.local;
root /Users/tomwey/Desktop/keke/blog20120602/public
passenger_enabled on;
rails_env development;
}
}