New Rails App with Stable Rails Branch Git Submodule
If you want to use a stable branch of rails as a submodule (rather than edge rails) use:
mkdir -p application/vendor git init git submodule add git://github.com/rails/rails.git vendor/rails -b 2-3-stable git commit -m "rails 2.3 stable submodule" ruby vendor/rails/railties/bin/rails . rm -rf log/* tmp/* git add * git commit -m "initial rails app"