default_dir (Gem)

    # File lib/rubygems/defaults.rb, line 19
      def self.default_dir
        if defined? RUBY_FRAMEWORK_VERSION then
          File.join File.dirname(ConfigMap[:sitedir]), 'Gems',
                    ConfigMap[:ruby_version]
        # 1.9.2dev reverted to 1.8 style path
        elsif RUBY_VERSION > '1.9' and RUBY_VERSION < '1.9.2' then
          File.join(ConfigMap[:libdir], ConfigMap[:ruby_install_name], 'gems',
                    ConfigMap[:ruby_version])
        else
          File.join(ConfigMap[:libdir], ruby_engine, 'gems',
                    ConfigMap[:ruby_version])
        end
      end