This is the current app I have: After following this: http://community.webfaction.com/questions/6846/ruby-192 I was able to setup ruby 1.9.2 and everything went well. However, when I visit the site, nothing is showing up! :( I tailed the log file production.log and requests are being sent, but nothing is showing up. A sample request is this:
What could possibly be wrong? Are there other files I should check? My local development works correctly. I have precompiled the assets. My local dev and my webfaction site is both working with a Github repo, synced by Capistrano, so I might have missed a required production setup. Any ideas? asked 29 May '12, 23:11 Ygam Retuta |
I have noticed that your application really is giving a response back, when you access it locally:
So, I thought perhaps the front-end Nginx server was getting in the way, so I tried establishing an SSH tunnel from my local machine:
And then accessing http://127.0.0.1:5678/ on my local browser - same blank screen. So it appears that your Rails application does indeed send a response when requested, but it doesn't like it when people actually make that request with a real browser. Maybe your application is choking on the HTTP headers being sent?
I'm quite new to this so please elaborate :D If my application is indeed choking on the HTTP headers being sent, what can I do about it?
oh, if this is outside Webfaction's domain and it is my application that's having a problem, please let me know. I will look for rails-based solutions for it
Ok, we're not seeing any general problems on your server, so it looks like this is indeed an issue specific to your application.
that's hard. This is as basic as a rails app can get, one controller and one model. Hm~ I'll take a look, thanks for your help! :D