提交 441bba80 编写于 作者: R Rick Olson

Remove some cruft from the framework:update:configs task and fix the...

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
上级 bbc13513
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册