Rails and Capistrano on Site5
So I just moved my hosting from Dreamhost to Site5. Thus far everything has been stellar. However, when I was looking over the forums to figure out how Capistrano fits at Site5, I noticed people doing things are slightly weird way (weird for the Rails world at least). It is probably due to this tutorial on how to get Rails apps working on Site5.
I can also say that I have the turbo charged plan, which has a different methodology for multi-site hosting and management. From the dates on the forums, the tutorial and most posts I saw could be doing things the “weird” way because they are on the regular hosting plan, etc.
So, on the turbo charged plan, here is a way you can set up your rails app so that Capistrano will work mostly with its defaults (without overriding a lot of variable values).
- Create a subdomain, for example app.jason.com
- In the public_html/app/ folder create a current directory.
- Edit the subdomain’s document root to include the new current directory.
- Now delete the current directory.
- Use Capistrano to deploy your app. It will create a current symlink where there used to be a current directory.
Now everything will just work. That is of course if you configured Capistrano correctly. But you can find plenty of other articles on how to do that.
Sorry, comments are closed for this article.