Skip to content

Commit

Permalink
Actually, removing File/FileUtil entirely is the answer
Browse files Browse the repository at this point in the history
  • Loading branch information
dhh committed Sep 4, 2008
1 parent 14995e1 commit e724e3e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions railties/Rakefile
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ task :generate_rails_framework_doc do
end end


task :generate_app_doc do 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} system %{cd #{PKG_DESTINATION}; rake doc:app}
end end


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


task :copy_gem_environment do 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 chmod 0755, dest_file
end end


Expand Down

0 comments on commit e724e3e

Please sign in to comment.