public
Last active

A quick 4 step process to export any Rails version via GIT

  • Download Gist
how_to_export_rails_via_git.txt
1 2 3 4 5 6
# 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 - )

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.