用的是 ubuntu 14.2/ ruby 2.1.2 /rails 4.23 ,数据库迁移啊,都成功啦。应用目录是 /home/wyl/Hack 错误日志 我去了下面说的网址,给的方法是 sudo chmod g+x,o+x /Users/phusion/Sites/rack.test 但是没用嘞
2015/08/09 16:21:46 [alert] 2254#0: *14 Cannot stat '/home/wyl/Hack/config.ru': Permission denied (errno=13); This error means that the Nginx worker process (PID 2254, running as UID 65534) does not have permission to access this file. Please read this page to learn how to fix this problem: https://www.phusionpassenger.com/library/admin/nginx/troubleshooting/?a=upon-accessing-the-web-app-nginx-reports-a-permission-denied-error; Extra info, client: 127.0.0.1, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "localhost", referrer:
"http://localhost/chats"
server {
listen 80;
server_name localhost;
root /home/wyl/Hack/public;
passenger_enabled on;
}