Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Actually, removing File/FileUtil entirely is the answer

  • Loading branch information...
commit e724e3ede67b4199db8765e00d370e6a7bd401e6 1 parent 14995e1
@dhh dhh authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/Rakefile
View
4 railties/Rakefile
@@ -265,7 +265,7 @@ task :generate_rails_framework_doc do
end
task :generate_app_doc do
- FileUtil.cp "doc/README_FOR_APP", "#{PKG_DESTINATION}/doc/README_FOR_APP"
+ cp "doc/README_FOR_APP", "#{PKG_DESTINATION}/doc/README_FOR_APP"
system %{cd #{PKG_DESTINATION}; rake doc:app}
end
@@ -284,7 +284,7 @@ Rake::RDocTask.new { |rdoc|
# Generate GEM ----------------------------------------------------------------------------
task :copy_gem_environment do
- FileUtil.cp "environments/environment.rb", "#{PKG_DESTINATION}/config/environment.rb"
+ cp "environments/environment.rb", "#{PKG_DESTINATION}/config/environment.rb"
chmod 0755, dest_file
end
Please sign in to comment.
Something went wrong with that request. Please try again.