Post a gist of your unicorn.rb Make sure your unix sockets are pointing to the same place.
Your nginx is pointing to /tmp/... I'd hazzard a bet your unicorn.rb is pointing to the rails root tmp and not the root tmp dir. On May 14, 2013, at 5:43 AM, Makru <makru1...@gmail.com> wrote: > Hello Lee, > > thanks for your hint. Please have a look at: > > https://gist.github.com/Makru/5575568 > > This is my nginx.conf file, named blog.conf which is stored under > > /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 > > Am Dienstag, 14. Mai 2013 13:25:21 UTC+2 schrieb Makru: >> >> 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 capistrano@googlegroups.com > * To unsubscribe from this group, send email to > capistrano+unsubscr...@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+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > > -- -- * You received this message because you are subscribed to the Google Groups "Capistrano" group. * To post to this group, send email to capistrano@googlegroups.com * To unsubscribe from this group, send email to capistrano+unsubscr...@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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.