# File lib/yard/cli/command.rb, line 61
      def load_script(file)
        return if YARD::Config.options[:safe_mode]
        require(file.gsub(/\.rb$/, ''))
      rescue LoadError
        log.error "The file `#{file}' could not be loaded, check the path and try again."
        exit
      end