lib/rubygems/indexer.rb in rubygems-update-3.4.20 vs lib/rubygems/indexer.rb in rubygems-update-3.4.21
- old
+ new
@@ -325,10 +325,10 @@
##
# Make directories for index generation
def make_temp_directories
FileUtils.rm_rf @directory
- FileUtils.mkdir_p @directory, :mode => 0700
+ FileUtils.mkdir_p @directory, :mode => 0o700
FileUtils.mkdir_p @quick_marshal_dir
end
##
# Ensure +path+ and path with +extension+ are identical.