diff options
author | Rick Olson <technoweenie@gmail.com> | 2006-06-21 02:11:59 +0000 |
---|---|---|
committer | Rick Olson <technoweenie@gmail.com> | 2006-06-21 02:11:59 +0000 |
commit | 441bba8091c5a73417003987361dbfc01d12aaa6 (patch) | |
tree | 3c772dbda50f71687511d12cf6a1b3df20f7a398 /railties/lib | |
parent | bbc1351344dd47e88a0251ca9a0f6301301b1202 (diff) | |
download | rails-441bba8091c5a73417003987361dbfc01d12aaa6.tar.gz rails-441bba8091c5a73417003987361dbfc01d12aaa6.tar.bz2 rails-441bba8091c5a73417003987361dbfc01d12aaa6.zip |
Remove some cruft from the framework:update:configs task and fix the documentation. Closes #5300. [jeremy@planetargon.com]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4475 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/tasks/framework.rake | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/railties/lib/tasks/framework.rake b/railties/lib/tasks/framework.rake index bdcc266629..e9316b6c10 100644 --- a/railties/lib/tasks/framework.rake +++ b/railties/lib/tasks/framework.rake @@ -103,11 +103,9 @@ namespace :rails do FileUtils.cp(scripts, project_dir) end - desc "Update boot/config.rb from your current rails install" + desc "Update config/boot.rb from your current rails install" task :configs do require 'railties_path' - project_dir = RAILS_ROOT + '/public/javascripts/' - scripts = Dir[RAILTIES_PATH + '/html/javascripts/*.js'] FileUtils.cp(RAILTIES_PATH + '/environments/boot.rb', RAILS_ROOT + '/config/boot.rb') end end |