Permalink
Browse files

Added that rails:update is run when you do rails:freeze:edge to ensur…

…e 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
  • Loading branch information...
1 parent 0ad24df commit f5aaf945b68feff5325a5977b832101955b64a54 @dhh dhh committed Jan 3, 2008
Showing with 5 additions and 0 deletions.
  1. +2 −0 railties/CHANGELOG
  2. +3 −0 railties/lib/tasks/framework.rake
View
@@ -1,5 +1,7 @@
*SVN*
+* Added that rails:update is run when you do rails:freeze:edge to ensure you also get the latest JS and config files #10565 [jeff]
+
* SQLite: db:drop:all doesn't fail silently if the database is already open. #10577 [Cheah Chu Yeow, mrichman]
* Introduce native mongrel handler and push mutex into dispatcher. [Jeremy Kemper]
@@ -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

0 comments on commit f5aaf94

Please sign in to comment.