diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2008-01-03 00:14:47 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2008-01-03 00:14:47 +0000 |
commit | f5aaf945b68feff5325a5977b832101955b64a54 (patch) | |
tree | 700b216872864799f5a037cc60b9e5cf6f84ec37 /railties/lib | |
parent | 0ad24df6ed389c1d57970c6e7650c5b1b7ae7676 (diff) | |
download | rails-f5aaf945b68feff5325a5977b832101955b64a54.tar.gz rails-f5aaf945b68feff5325a5977b832101955b64a54.tar.bz2 rails-f5aaf945b68feff5325a5977b832101955b64a54.zip |
Added that rails:update is run when you do rails:freeze:edge to ensure you also get the latest JS and config files (closes #10565) [jeff]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8532 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/tasks/framework.rake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/tasks/framework.rake b/railties/lib/tasks/framework.rake index 77f74aa156..891f901fe9 100644 --- a/railties/lib/tasks/framework.rake +++ b/railties/lib/tasks/framework.rake @@ -69,6 +69,9 @@ namespace :rails do for framework in %w(railties actionpack activerecord actionmailer activesupport activeresource) system "svn export #{rails_svn}/#{framework} vendor/rails/#{framework}" + (ENV['REVISION'] ? " -r #{ENV['REVISION']}" : "") end + + puts "Updating current scripts, javascripts, and configuration settings" + Rake::Task["rails:update"].invoke end end |