Skip to content

Commit e724e3e

Browse files
author
David Heinemeier Hansson
committed
Actually, removing File/FileUtil entirely is the answer
1 parent 14995e1 commit e724e3e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

railties/Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ task :generate_rails_framework_doc do
265265
end
266266

267267
task :generate_app_doc do
268-
FileUtil.cp "doc/README_FOR_APP", "#{PKG_DESTINATION}/doc/README_FOR_APP"
268+
cp "doc/README_FOR_APP", "#{PKG_DESTINATION}/doc/README_FOR_APP"
269269
system %{cd #{PKG_DESTINATION}; rake doc:app}
270270
end
271271

@@ -284,7 +284,7 @@ Rake::RDocTask.new { |rdoc|
284284
# Generate GEM ----------------------------------------------------------------------------
285285

286286
task :copy_gem_environment do
287-
FileUtil.cp "environments/environment.rb", "#{PKG_DESTINATION}/config/environment.rb"
287+
cp "environments/environment.rb", "#{PKG_DESTINATION}/config/environment.rb"
288288
chmod 0755, dest_file
289289
end
290290

0 commit comments

Comments
 (0)