Permalink
Browse files

Force move index files.

git-svn-id: http://rubygems.rubyforge.org/svn/trunk@1794 3d4018f9-ac1a-0410-99e9-8a154d859a19
  • Loading branch information...
1 parent 610a059 commit cb62afa0e95a111964272254fc81b5114bbb6c8f drbrain committed Jun 22, 2008
Showing with 5 additions and 2 deletions.
  1. +3 −1 Rakefile
  2. +2 −1 lib/rubygems/indexer.rb
View
4 Rakefile
@@ -282,7 +282,9 @@ PKG_FILES = FileList[
"setup.rb",
"test/**/*"
]
-PKG_FILES.exclude(%r(^test/temp(/|$)))
+
+PKG_FILES.exclude %r(^test/temp(/|$))
+PKG_FILES.exclude %r(*.rbc$)
Rake::PackageTask.new("package") do |p|
p.name = PKG_NAME
View
3 lib/rubygems/indexer.rb
@@ -317,7 +317,8 @@ def install_indicies
dst_name = File.join @dest_directory, file
FileUtils.rm_rf dst_name, :verbose => verbose
- FileUtils.mv src_name, @dest_directory, :verbose => verbose
+ FileUtils.mv src_name, @dest_directory, :verbose => verbose,
+ :force => true
end
end

0 comments on commit cb62afa

Please sign in to comment.