Instantly share code, notes, and snippets.

What would you like to do?
A quick 4 step process to export any Rails version via GIT
# This is how to create a Rails GIT clone, then export whatever version you want into your vendor/plugins
cd /path/to/rails/project/trunk/
git clone git:// rails-src
cd rails-src
git archive --format=tar --prefix=rails/ v2.3.0 | ( cd ../vendor/plugins/ && tar xf - )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment