Rather than using the latest Rails gem for my application, I like to have the code local in my own git repository, which means putting it in vendor/rails
.
There are a couple of ways of doing this: downloading the source for the particular branch/tag I want to run and committing it to my repository, or using git submodules.
Submodules seem like a natural way to go, but isn't it the case that each time you clone the repository you'll have to manually check out the branch you want to use that submodule for (otherwise you'll just get master
)? And is there an impact on Capistrano deployments using this method?