I'm relatively inexperienced in rails, and I'm confused by the fact that Capistrano fits into the life cycle of the rails application.
In my opinion, the following steps are for the rails application to complete.
- Select and configure a host (e.g. linode)
- Install apache2
- Install rvm
- Set ruby ββand set rails
- Install passenger
- Build the application and test in the .com000000 domain with the "rails s" command
However, it is not clear to me how the following steps work. In particular:
a) The live rails application should work in production mode on the .com domain, I assume the passenger does this?
b) If I created an application on domain.com{000, do I need to do anything in the rails configuration before it works on domain.com?
c) Where is capistrano located? If a passenger can make my application run on domain.com, what does capistrano do?
source share