Hello,
i am new to all related Ruby and Ruby on Rails and just started some weeks ago learning with tutorials and books.
Following one capistrano deployment tutorial, everything looks fine but the RoR application is not running.
CAP DEPLOY works according the Windows cmd-window but opening the webpage via a browser results in the:
Welcome aboard You’re riding Ruby on Rails!
-window, which is ok but if i go to the application, i get a 404 error from nginx.
I checked that Unicorn and NGINX are running on the Debian server. A restart does not help.
My enviroment :
- Development Windows 7
- Production Debian 6 with nginx and Unicorn
- Ruby and Rails newest via RVM on Debian and Railsinstaller on Windows
- Deployment using capistrano & github & SSH
Because i can not see a error during deployment i would be interested to know how to troubleshoot?
Many thanks in advance.
Best Regards
Mathias
--
--
* You received this message because you are subscribed to the Google Groups "Capistrano" group.
* To post to this group, send email to capis...@googlegroups.com
* To unsubscribe from this group, send email to capistrano+...@googlegroups.com For more options, visit this group at http://groups.google.com/group/capistrano?hl=en
---
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
/etc/nginx/conf.d/blog.conf on the production server. Is there something missing?
I am wondering about line 7 as comment:
# server_name example.com;
Something else missing or wrong?
Regards
Mathias
nginx/1.4.0
Thats why i am not sure, where the problem is....
Regards
Mathias
Hello,
i am new to all related Ruby and Ruby on Rails and just started some weeks ago learning with tutorials and books.
Following one capistrano deployment tutorial, everything looks fine but the RoR application is not running.
CAP DEPLOY works according the Windows cmd-window but opening the webpage via a browser results in the:
Welcome aboard You’re riding Ruby on Rails!
-window, which is ok but if i go to the application, i get a 404 error from nginx.
I checked that Unicorn and NGINX are running on the Debian server. A restart does not help.
My enviroment :
- Development Windows 7
- Production Debian 6 with nginx and Unicorn
- Ruby and Rails newest via RVM on Debian and Railsinstaller on Windows
- Deployment using capistrano & github & SSH
Because i can not see a error during deployment i would be interested to know how to troubleshoot?
Many thanks in advance.
listen "/tmp/unicorn.blog.sock", :backlog => 64listen 8080, :tcp_nopush => trueYou don't need the 8080 listener though it doesn't hurt anything.Do you have rvm installed on the server? If you do you have to sort that out first. You may be starting it without rvm loaded and going to the system ruby.How do you start unicorn?