Skip to content

Instantly share code, notes, and snippets.

@nshbrown
Created February 14, 2009 20:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nshbrown/64451 to your computer and use it in GitHub Desktop.
Save nshbrown/64451 to your computer and use it in GitHub Desktop.
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://github.com/rails/rails.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