Permalink
Browse files

Actually, removing File/FileUtil entirely is the answer

  • Loading branch information...
1 parent 14995e1 commit e724e3ede67b4199db8765e00d370e6a7bd401e6 @dhh dhh committed Sep 4, 2008
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/Rakefile
View
@@ -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

0 comments on commit e724e3e

Please sign in to comment.