I have come a long way, but the last hurdle eludes me.
Capistrano uploads the new application, and sets the correct sym link. But when I access the web app, I get the dispatch.fcgi file displayed as plain text.
The interesting thing is, if I create the rails skeleton on HostingRails, then upload my files (as suggested in the deployment tutorial), it works fine.
So, I compared two skeleton rails apps, one created from HostingRails, the other from my local machine. The only differences are in the application name it uses (i.e. where it sets session id etc.).
I then compared the permissions, and they are exactly the same too!
Can anyone help me out with this? I'm out of clues.
I would really like to use Capistrano to upload my entire application. Creating a skeleton rails app on HostingRails, then uploading the content defeats the point of using Capistrano. Unless this can be automated from Cap.
I swear it must be the smallest thing I've over looked.
Local machine versions:
cygwin
Rails 1.2.3
Capistrano 1.4.1
I have read these tutorials.
Common Deployment Mistakes
500 Error
Application Error with Capistrano 1.4
Capistrano Deployment
2007-04-09 02:10 AM
Track my entrepreneur's journey at 1000milejourney.com.