Server unable to find public folder in rails 3 production environment

后端 未结 2 1299
一整个雨季
一整个雨季 2021-02-01 03:06

I\'m using the latest rails 3 beta. The app works fine in development mode, but when I start the server in production mode via rails server -e production, it seems

2条回答
  •  迷失自我
    2021-02-01 04:09

    nginx, unicorn and apache will do this automatically. be sure to change this back to false if you are deploying using these servers.

提交回复
热议问题