This isn't likely to be a capistrano issue. 

Shut nginx and unicorn down on the server. 

Make sure you've made provisions for doing all of the configuration required 
for RAILS_ENV=production and ensure you are launching unicorn with 
RAILS_ENV=production 

Verify you can run a 

rails console production 

>From the <deploy_to>/current directory where your app is deployed. 

Start nginx and unicorn back up manually. Recheck your app. 

On May 14, 2013, at 4:25 AM, Makru <makru1...@gmail.com> wrote:

> 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.


Reply via email to