diff options
Diffstat (limited to 'railties/Rakefile')
-rwxr-xr-x[-rw-r--r--] | railties/Rakefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/railties/Rakefile b/railties/Rakefile index 9ef6637c1e..5137bee761 100644..100755 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -1,4 +1,4 @@ -require 'rake' +#!/usr/bin/env rake require 'rake/testtask' require 'rake/gempackagetask' @@ -45,8 +45,9 @@ task :generate_guides do ruby "guides/rails_guides.rb" end -task :update_prototype_ujs do - system "curl http://github.com/rails/prototype-ujs/raw/master/src/rails.js > lib/rails/generators/rails/app/templates/public/javascripts/rails.js" +task :update_ujs do + system "curl http://github.com/rails/prototype-ujs/raw/master/src/rails.js > lib/rails/generators/rails/app/templates/public/javascripts/prototype_ujs.js" + system "curl http://github.com/rails/jquery-ujs/raw/master/src/rails.js > lib/rails/generators/rails/app/templates/public/javascripts/jquery_ujs.js" end # Validate guides ------------------------------------------------------------------------- |