# File lib/appraisal/appraisal.rb, line 62
    def install(options = {})
      commands = [install_command(options).join(" ")]

      if options["without"].nil? || options["without"].empty?
        commands.unshift(check_command.join(" "))
      end

      command = commands.join(" || ")

      if Bundler.settings[:path]
        env = { 'BUNDLE_DISABLE_SHARED_GEMS' => '1' }
        Command.new(command, :env => env).run
      else
        Command.new(command).run
      end
    end