ruby-win32/lib/ruby/site_ruby/1.8/rubygems.rb
def ensure_gem_subdirectories(gemdir)
      require 'fileutils'

      Gem::DIRECTORIES.each do |filename|
        fn = File.join gemdir, filename
        FileUtils.mkdir_p fn rescue nil unless File.exist? fn
      end
    end
# Quietly ensure the named Gem directory contains all the proper
# subdirectories.  If we can't create a directory due to a permission
# problem, then we will silently continue.
Quietly ensure the named Gem directory contains all the proper
subdirectories.  If we can't create a directory due to a permission
problem, then we will silently continue.
Quietly ensure the named Gem directory contains all the proper subdirectories . If we can ' t create a directory due to a permission problem then we will silently continue .
def ensure_gem_subdirectories(gemdir)
      require 'fileutils'
      Gem::DIRECTORIES.each do |filename|
        fn = File.join gemdir, filename
        FileUtils.mkdir_p fn rescue nil unless File.exist? fn
      end
    end
def ensure_gem_subdirectories ( gemdir ) require 'fileutils' Gem :: DIRECTORIES . each do | filename | fn = File . join gemdir , filename FileUtils . mkdir_p fn rescue nil unless File . exist? fn end end
Quietly ensure the named Gem directory contains all the proper
subdirectories.
Quietly ensure the named Gem directory contains all the proper subdirectories .
gemdir