ruby-win32/lib/ruby/site_ruby/1.8/rubygems/installer.rb
def expand_and_validate_gem_dir
    @gem_dir = Pathname.new(@gem_dir).expand_path

    unless absolute_path?(@gem_dir) then # HACK is this possible after #expand_path?
      raise ArgumentError, "install directory %p not absolute" % @gem_dir
    end

    @gem_dir = @gem_dir.to_s
  end
##
# Raised when there is an error while building extensions.
#
Raised when there is an error while building extensions.
Raised when there is an error while building extensions .
def expand_and_validate_gem_dir
    @gem_dir = Pathname.new(@gem_dir).expand_path
    unless absolute_path?(@gem_dir) then 
      raise ArgumentError, "install directory %p not absolute" % @gem_dir
    end
    @gem_dir = @gem_dir.to_s
  end
def expand_and_validate_gem_dir @gem_dir = Pathname . new ( @gem_dir ) . expand_path unless absolute_path? ( @gem_dir ) then raise ArgumentError , "install directory %p not absolute" % @gem_dir end @gem_dir = @gem_dir . to_s end
Raised when there is an error while building extensions.
Raised when there is an error while building extensions .
# HACK is this possible after #expand_path?