简体   繁体   English

橡胶无法启动导轨服务器

[英]Rubber not starting rails server

I used complete_passenger_mysql recipe and successfully deployed the app. 我使用complete_passenger_mysql配方并成功部署了该应用程序。

Last command I saw was, '* 2013-11-10 03:36:59 executing cleanup''`, and then it automatically ended the session, without any error. 我看到的最后一个命令是'* 2013-11-10 03:36:59 executing清理'* 2013-11-10 03:36:59 executing `,然后它自动结束了会话,没有任何错误。 So, I guess, deployment was successful. 因此,我想部署成功了。

Now, when I try to browse my app, it just lists files/directories of my app's public directory ( 404.html, 422.html, 500.html , assets folder etc.) 现在,当我尝试浏览我的应用程序时,它只列出了我应用程序public目录(404.html,422.html,500.html,资产文件夹等)的文件/目录。

So, I think apache is working fine. 因此,我认为apache工作正常。 But rails server is not live. 但是Rails服务器不可用。 Do I need to do anything special for that ? 我需要为此做些特别的事情吗? I just did cap deploy to deploy the app. 我只是做了cap deploy来部署应用程序。

please check the log file on server 请检查服务器上的日志文件

deployed_path/current/log/production.log

or you can try this in console of the server 或者您可以在服务器的控制台中尝试

$ RAILS_ENV=production rails c

The db config will make issue if it's wrong. 如果配置错误,数据库配置将产生问题。

config/database.yml

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM