Skip to content

Unfortunately,An unexpected error occurred , and Bundler cannot continue #5414

@ghost

Description

--- ERROR REPORT TEMPLATE -------------------------------------------------------

  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/vendor/tmpdir/lib/tmpdir.rb:39:in `tmpdir'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/vendor/tmpdir/lib/tmpdir.rb:115:in `tmpdir'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/vendor/tmpdir/lib/tmpdir.rb:130:in `create'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/vendor/tmpdir/lib/tmpdir.rb:90:in `mktmpdir'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/compact_index_client/updater.rb:29:in `update'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/compact_index_client.rb:92:in `update'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/compact_index_client.rb:79:in `update_and_parse_checksums!'          /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/fetcher/compact_index.rb:70:in `available?'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/fetcher/compact_index.rb:16:in `call'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/fetcher/compact_index.rb:16:in `block in compact_index_request'      /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/fetcher.rb:158:in `use_api'                                          /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/source/rubygems.rb:427:in `block in api_fetchers'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/source/rubygems.rb:427:in `select'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/source/rubygems.rb:427:in `api_fetchers'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/source/rubygems.rb:432:in `block in remote_specs'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/index.rb:9:in `build'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/source/rubygems.rb:431:in `remote_specs'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/source/rubygems.rb:131:in `specs'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/resolver.rb:167:in `index_for'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/resolver.rb:175:in `results_for'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/resolver.rb:112:in `search_for'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/resolver.rb:255:in `block in verify_gemfile_dependencies_are_found!'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/resolver.rb:252:in `map!'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/resolver.rb:252:in `verify_gemfile_dependencies_are_found!'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/resolver.rb:48:in `start'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/resolver.rb:23:in `resolve'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/definition.rb:269:in `resolve'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/definition.rb:180:in `resolve_remotely!'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/installer.rb:280:in `resolve_if_needed'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/installer.rb:82:in `block in run'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/process_lock.rb:12:in `block in lock'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/process_lock.rb:9:in `open'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/process_lock.rb:9:in `lock'                                          /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/installer.rb:71:in `run'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/installer.rb:23:in `install'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/cli/install.rb:62:in `run'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/cli.rb:255:in `block in install'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/settings.rb:131:in `temporary'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/cli.rb:254:in `install'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/cli.rb:31:in `dispatch'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/cli.rb:25:in `start'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/exe/bundle:48:in `block in <top (required)>'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/lib/bundler/friendly_errors.rb:103:in `with_friendly_errors'
  /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0/gems/bundler-2.3.9/exe/bundle:36:in `<top (required)>'
  /data/data/com.termux/files/usr/bin/bundle:25:in `load'
  /data/data/com.termux/files/usr/bin/bundle:25:in `<main>'

Environment

Bundler       2.3.9
  Platforms   ruby, aarch64-linux-android
Ruby          3.1.0p0 (2021-12-25 revision fb4df44d1670e9d25aef6b235a7281199a177edb) [aarch64-linux-android]
  Full Path   /data/data/com.termux/files/usr/bin/ruby
  Config Dir  /data/data/com.termux/files/usr/etc
RubyGems      3.3.3
  Gem Home    /data/data/com.termux/files/usr/lib/ruby/gems/3.1.0
  Gem Path    /data/data/com.termux/files/home/.local/share/gem/ruby/3.1.0:/data/data/com.termux/files/usr/lib/ruby/gems/3.1.0
  User Home   /data/data/com.termux/files/home
  User Path   /data/data/com.termux/files/home/.local/share/gem/ruby/3.1.0
  Bin Dir     /data/data/com.termux/files/usr/bin
OpenSSL
  Compiled    OpenSSL 3.0.1 14 Dec 2021
  Loaded      OpenSSL 3.0.2 15 Mar 2022
  Cert File   /data/data/com.termux/files/usr/etc/tls/cert.pem
  Cert Dir    /data/data/com.termux/files/usr/etc/tls/certs
Tools
  Git         2.35.1
  RVM         not installed
  rbenv       not installed
  chruby      not installed

Bundler Build Metadata

Built At          2022-03-09
Git SHA           7f90c0083a
Released Version  true

Bundler settings

jobs
  Set for your local app (/data/data/com.termux/files/home/metasploit-framework/.bundle/config): 8

Gemfile

Gemfile

source 'https://rubygems.org'
# Add default group gems to `metasploit-framework.gemspec`:
#   spec.add_runtime_dependency '<name>', [<version requirements>]
gemspec name: 'metasploit-framework'

# separate from test as simplecov is not run on travis-ci
group :coverage do
  # code coverage for tests
  gem 'simplecov', '0.18.2'
end

group :development do
  # Markdown formatting for yard
  gem 'redcarpet'
  # generating documentation
  gem 'yard'
  # for development and testing purposes
  gem 'pry-byebug'
  # module documentation
  gem 'octokit'
  # memory profiling
  gem 'memory_profiler'
  # cpu profiling
  gem 'ruby-prof', '1.4.2'
  # Metasploit::Aggregator external session proxy
  # disabled during 2.5 transition until aggregator is available
  #gem 'metasploit-aggregator'
end

group :development, :test do
  # automatically include factories from spec/factories
  gem 'factory_bot_rails'
  # Make rspec output shorter and more useful
  gem 'fivemat'
  # running documentation generation tasks and rspec tasks
  gem 'rake'
  # Define `rake spec`.  Must be in development AND test so that its available by default as a rake test when the
  # environment is development
  gem 'rspec-rails'
  gem 'rspec-rerun'
  gem 'rubocop'
end

group :test do
  # Manipulate Time.now in specs
  gem 'timecop'
end

Gemfile.lock

PATH
  remote: .
  specs:
    metasploit-framework (6.1.35)
      actionpack (~> 6.0)
      activerecord (~> 6.0)
      activesupport (~> 6.0)
      aws-sdk-ec2
      aws-sdk-iam
      aws-sdk-s3
      bcrypt
      bcrypt_pbkdf
      bson
      concurrent-ruby (= 1.0.5)
      dnsruby
      ed25519
      em-http-request
      eventmachine
      faker
      faraday
      faye-websocket
      filesize
      hrr_rb_ssh-ed25519
      http-cookie
      irb
      jsobfu
      json
      metasm
      metasploit-concern
      metasploit-credential
      metasploit-model
      metasploit-payloads (= 2.0.77)
      metasploit_data_models
      metasploit_payloads-mettle (= 1.0.18)
      mqtt
      msgpack
      nessus_rest
      net-ldap
      net-ssh
      network_interface
      nexpose
      nokogiri
      octokit
      openssl-ccm
      openvas-omp
      packetfu
      patch_finder
      pcaprub
      pdf-reader
      pg
      puma
      railties
      rb-readline
      recog
      redcarpet
      reline (= 0.2.5)
      rex-arch
      rex-bin_tools
      rex-core
      rex-encoder
      rex-exploitation
      rex-java
      rex-mime
      rex-nop
      rex-ole
      rex-powershell
      rex-random_identifier
      rex-registry
      rex-rop_builder
      rex-socket
      rex-sslscan
      rex-struct2
      rex-text
      rex-zip
      ruby-macho
      ruby_smb (~> 3.0)
      rubyntlm
      rubyzip
      sinatra
      sqlite3
      sshkey
      swagger-blocks
      thin
      tzinfo
      tzinfo-data
      unix-crypt
      warden
      win32api
      windows_error
      winrm
      xdr
      xmlrpc
      zeitwerk

GEM
  remote: https://rubygems.org/
  specs:
    Ascii85 (1.1.0)
    actionpack (6.1.5)
      actionview (= 6.1.5)
      activesupport (= 6.1.5)
      rack (~> 2.0, >= 2.0.9)
      rack-test (>= 0.6.3)
      rails-dom-testing (~> 2.0)
      rails-html-sanitizer (~> 1.0, >= 1.2.0)
    actionview (6.1.5)
      activesupport (= 6.1.5)
      builder (~> 3.1)
      erubi (~> 1.4)
      rails-dom-testing (~> 2.0)
      rails-html-sanitizer (~> 1.1, >= 1.2.0)
    activemodel (6.1.5)
      activesupport (= 6.1.5)
    activerecord (6.1.5)
      activemodel (= 6.1.5)
      activesupport (= 6.1.5)
    activesupport (6.1.5)
      concurrent-ruby (~> 1.0, >= 1.0.2)
      i18n (>= 1.6, < 2)
      minitest (>= 5.1)
      tzinfo (~> 2.0)
      zeitwerk (~> 2.3)
    addressable (2.8.0)
      public_suffix (>= 2.0.2, < 5.0)
    afm (0.2.2)
    arel-helpers (2.14.0)
      activerecord (>= 3.1.0, < 8)
    ast (2.4.2)
    aws-eventstream (1.2.0)
    aws-partitions (1.568.0)
    aws-sdk-core (3.130.0)
      aws-eventstream (~> 1, >= 1.0.2)
      aws-partitions (~> 1, >= 1.525.0)
      aws-sigv4 (~> 1.1)
      jmespath (~> 1.0)
    aws-sdk-ec2 (1.303.0)
      aws-sdk-core (~> 3, >= 3.127.0)
      aws-sigv4 (~> 1.1)
    aws-sdk-iam (1.68.0)
      aws-sdk-core (~> 3, >= 3.127.0)
      aws-sigv4 (~> 1.1)
    aws-sdk-kms (1.55.0)
      aws-sdk-core (~> 3, >= 3.127.0)
      aws-sigv4 (~> 1.1)
    aws-sdk-s3 (1.113.0)
      aws-sdk-core (~> 3, >= 3.127.0)
      aws-sdk-kms (~> 1)
      aws-sigv4 (~> 1.4)
    aws-sigv4 (1.4.0)
      aws-eventstream (~> 1, >= 1.0.2)
    bcrypt (3.1.17)
    bcrypt_pbkdf (1.1.0)
    bindata (2.4.10)
    bson (4.14.1)
    builder (3.2.4)
    byebug (11.1.3)
    coderay (1.1.3)
    concurrent-ruby (1.0.5)
    cookiejar (0.3.3)
    crass (1.0.6)
    daemons (1.4.1)
    diff-lcs (1.5.0)
    dnsruby (1.61.9)
      simpleidn (~> 0.1)
    docile (1.4.0)
    domain_name (0.5.20190701)
      unf (>= 0.0.5, < 1.0.0)
    ed25519 (1.3.0)
    em-http-request (1.1.7)
      addressable (>= 2.3.4)
      cookiejar (!= 0.3.1)
      em-socksify (>= 0.3)
      eventmachine (>= 1.0.3)
      http_parser.rb (>= 0.6.0)
    em-socksify (0.3.2)
      eventmachine (>= 1.0.0.beta.4)
    erubi (1.10.0)
    eventmachine (1.2.7)
    factory_bot (6.2.0)
      activesupport (>= 5.0.0)
    factory_bot_rails (6.2.0)
      factory_bot (~> 6.2.0)
      railties (>= 5.0.0)
    faker (2.20.0)
      i18n (>= 1.8.11, < 2)
    faraday (1.10.0)
      faraday-em_http (~> 1.0)
      faraday-em_synchrony (~> 1.0)
      faraday-excon (~> 1.1)
      faraday-httpclient (~> 1.0)
      faraday-multipart (~> 1.0)
      faraday-net_http (~> 1.0)
      faraday-net_http_persistent (~> 1.0)
      faraday-patron (~> 1.0)
      faraday-rack (~> 1.0)
      faraday-retry (~> 1.0)
      ruby2_keywords (>= 0.0.4)
    faraday-em_http (1.0.0)
    faraday-em_synchrony (1.0.0)
    faraday-excon (1.1.0)
    faraday-httpclient (1.0.1)
    faraday-multipart (1.0.3)
      multipart-post (>= 1.2, < 3)
    faraday-net_http (1.0.1)
    faraday-net_http_persistent (1.2.0)
    faraday-patron (1.0.0)
    faraday-rack (1.0.0)
    faraday-retry (1.0.3)
    faye-websocket (0.11.1)
      eventmachine (>= 0.12.0)
      websocket-driver (>= 0.5.1)
    ffi (1.15.5)
    filesize (0.2.0)
    fivemat (1.3.7)
    gssapi (1.3.1)
      ffi (>= 1.0.1)
    gyoku (1.3.1)
      builder (>= 2.1.2)
    hashery (2.1.2)
    hrr_rb_ssh (0.4.2)
    hrr_rb_ssh-ed25519 (0.4.2)
      ed25519 (~> 1.2)
      hrr_rb_ssh (>= 0.4)
    http-cookie (1.0.4)
      domain_name (~> 0.5)
    http_parser.rb (0.8.0)
    httpclient (2.8.3)
    i18n (1.10.0)
      concurrent-ruby (~> 1.0)
    io-console (0.5.11)
    irb (1.3.6)
      reline (>= 0.2.5)
    jmespath (1.6.1)
    jsobfu (0.4.2)
      rkelly-remix
    json (2.6.1)
    little-plugger (1.1.4)
    logging (2.3.0)
      little-plugger (~> 1.1)
      multi_json (~> 1.14)
    loofah (2.15.0)
      crass (~> 1.0.2)
      nokogiri (>= 1.5.9)
    memory_profiler (1.0.0)
    metasm (1.0.5)
    metasploit-concern (4.0.3)
      activemodel (~> 6.0)
      activesupport (~> 6.0)
      railties (~> 6.0)
    metasploit-credential (5.0.5)
      metasploit-concern
      metasploit-model
      metasploit_data_models (>= 5.0.0)
      net-ssh
      pg
      railties
      rex-socket
      rubyntlm
      rubyzip
    metasploit-model (4.0.3)
      activemodel (~> 6.0)
      activesupport (~> 6.0)
      railties (~> 6.0)
    metasploit-payloads (2.0.77)
    metasploit_data_models (5.0.4)
      activerecord (~> 6.0)
      activesupport (~> 6.0)
      arel-helpers
      metasploit-concern
      metasploit-model (>= 3.1)
      pg
      railties (~> 6.0)
      recog (~> 2.0)
      webrick
    metasploit_payloads-mettle (1.0.18)
    method_source (1.0.0)
    mini_portile2 (2.2.0)
    minitest (5.15.0)
    mqtt (0.5.0)
    msgpack (1.4.5)
    multi_json (1.15.0)
    multipart-post (2.1.1)
    mustermann (1.1.1)
      ruby2_keywords (~> 0.0.1)
    nessus_rest (0.1.6)
    net-ldap (0.17.0)
    net-ssh (6.1.0)
    network_interface (0.0.2)
    nexpose (7.3.0)
    nio4r (2.5.8)
    nokogiri (1.8.0)
      mini_portile2 (~> 2.2.0)
      racc (~> 1.4)
    nori (2.6.0)
    octokit (4.22.0)
      faraday (>= 0.9)
      sawyer (~> 0.8.0, >= 0.5.3)
    openssl-ccm (1.2.2)
    openssl-cmac (2.0.1)
    openvas-omp (0.0.4)
    packetfu (1.1.13)
      pcaprub
    parallel (1.21.0)
    parser (3.1.1.0)
      ast (~> 2.4.1)
    patch_finder (1.0.2)
    pcaprub (0.13.1)
    pdf-reader (2.9.2)
      Ascii85 (~> 1.0)
      afm (~> 0.2.1)
      hashery (~> 2.0)
      ruby-rc4
      ttfunk
    pg (1.3.4)
    pry (0.13.1)
      coderay (~> 1.1)
      method_source (~> 1.0)
    pry-byebug (3.9.0)
      byebug (~> 11.0)
      pry (~> 0.13.0)
    public_suffix (4.0.6)
    puma (5.6.2)
      nio4r (~> 2.0)
    racc (1.6.0)
    rack (2.2.3)
    rack-protection (2.2.0)
      rack
    rack-test (1.1.0)
      rack (>= 1.0, < 3)
    rails-dom-testing (2.0.3)
      activesupport (>= 4.2.0)
      nokogiri (>= 1.6)
    rails-html-sanitizer (1.4.2)
      loofah (~> 2.3)
    railties (6.1.5)
      actionpack (= 6.1.5)
      activesupport (= 6.1.5)
      method_source
      rake (>= 12.2)
      thor (~> 1.0)
    rainbow (3.1.1)
    rake (13.0.6)
    rb-readline (0.5.5)
    recog (2.3.22)
      nokogiri
    redcarpet (3.5.1)
    regexp_parser (2.2.1)
    reline (0.2.5)
      io-console (~> 0.5)
    rex-arch (0.1.14)
      rex-text
    rex-bin_tools (0.1.8)
      metasm
      rex-arch
      rex-core
      rex-struct2
      rex-text
    rex-core (0.1.26)
    rex-encoder (0.1.6)
      metasm
      rex-arch
      rex-text
    rex-exploitation (0.1.29)
      jsobfu
      metasm
      rex-arch
      rex-encoder
      rex-text
      rexml
    rex-java (0.1.6)
    rex-mime (0.1.7)
      rex-text
    rex-nop (0.1.2)
      rex-arch
    rex-ole (0.1.7)
      rex-text
    rex-powershell (0.1.95)
      rex-random_identifier
      rex-text
      ruby-rc4
    rex-random_identifier (0.1.8)
      rex-text
    rex-registry (0.1.4)
    rex-rop_builder (0.1.4)
      metasm
      rex-core
      rex-text
    rex-socket (0.1.34)
      rex-core
    rex-sslscan (0.1.7)
      rex-core
      rex-socket
      rex-text
    rex-struct2 (0.1.3)
    rex-text (0.2.37)
    rex-zip (0.1.4)
      rex-text
    rexml (3.2.5)
    rkelly-remix (0.0.7)
    rspec (3.11.0)
      rspec-core (~> 3.11.0)
      rspec-expectations (~> 3.11.0)
      rspec-mocks (~> 3.11.0)
    rspec-core (3.11.0)
      rspec-support (~> 3.11.0)
    rspec-expectations (3.11.0)
      diff-lcs (>= 1.2.0, < 2.0)
      rspec-support (~> 3.11.0)
    rspec-mocks (3.11.0)
      diff-lcs (>= 1.2.0, < 2.0)
      rspec-support (~> 3.11.0)
    rspec-rails (5.1.1)
      actionpack (>= 5.2)
      activesupport (>= 5.2)
      railties (>= 5.2)
      rspec-core (~> 3.10)
      rspec-expectations (~> 3.10)
      rspec-mocks (~> 3.10)
      rspec-support (~> 3.10)
    rspec-rerun (1.1.0)
      rspec (~> 3.0)
    rspec-support (3.11.0)
    rubocop (1.26.0)                                                              parallel (~> 1.10)
      parser (>= 3.1.0.0)
      rainbow (>= 2.2.2, < 4.0)
      regexp_parser (>= 1.8, < 3.0)
      rexml
      rubocop-ast (>= 1.16.0, < 2.0)
      ruby-progressbar (~> 1.7)
      unicode-display_width (>= 1.4.0, < 3.0)
    rubocop-ast (1.16.0)
      parser (>= 3.1.1.0)
    ruby-macho (3.0.0)
    ruby-prof (1.4.2)
    ruby-progressbar (1.11.0)
    ruby-rc4 (0.1.5)
    ruby2_keywords (0.0.5)
    ruby_smb (3.0.5)
      bindata
      openssl-ccm
      openssl-cmac                                                                rubyntlm
      windows_error (>= 0.1.3)                                                  rubyntlm (0.6.3)
    rubyzip (2.3.2)                                                             sawyer (0.8.2)
      addressable (>= 2.3.5)
      faraday (> 0.8, < 2.0)
    simplecov (0.18.2)
      docile (~> 1.1)
      simplecov-html (~> 0.11)
    simplecov-html (0.12.3)
    simpleidn (0.2.1)
      unf (~> 0.1.4)
    sinatra (2.2.0)
      mustermann (~> 1.0)
      rack (~> 2.2)
      rack-protection (= 2.2.0)
      tilt (~> 2.0)
    sqlite3 (1.4.2)
    sshkey (2.0.0)
    swagger-blocks (3.0.0)                                                      thin (1.8.1)
      daemons (~> 1.0, >= 1.0.9)                                                  eventmachine (~> 1.0, >= 1.0.4)
      rack (>= 1, < 3)
    thor (1.2.1)                                                                tilt (2.0.10)
    timecop (0.9.5)
    ttfunk (1.7.0)                                                              tzinfo (2.0.4)
      concurrent-ruby (~> 1.0)
    tzinfo-data (1.2021.5)                                                        tzinfo (>= 1.0.0)
    unf (0.1.4)
      unf_ext
    unf_ext (0.0.8.1)
    unicode-display_width (2.1.0)
    unix-crypt (1.3.0)
    warden (1.2.9)
      rack (>= 2.0.9)
    webrick (1.7.0)
    websocket-driver (0.7.5)
      websocket-extensions (>= 0.1.0)
    websocket-extensions (0.1.5)
    win32api (0.1.0)                                                            windows_error (0.1.3)
    winrm (2.3.6)
      builder (>= 2.1.2)                                                          erubi (~> 1.8)
      gssapi (~> 1.2)
      gyoku (~> 1.0)                                                              httpclient (~> 2.2, >= 2.2.0.2)
      logging (>= 1.6.1, < 3.0)
      nori (~> 2.0)
      rubyntlm (~> 0.6.0, >= 0.6.3)
    xdr (3.0.3)
      activemodel (>= 4.2, < 8.0)
      activesupport (>= 4.2, < 8.0)
    xmlrpc (0.3.2)
      webrick
    yard (0.9.27)
      webrick (~> 1.7.0)
    zeitwerk (2.5.4)

PLATFORMS
  ruby

DEPENDENCIES
  factory_bot_rails                                                           fivemat
  memory_profiler
  metasploit-framework!                                                       octokit
  pry-byebug
  rake
  redcarpet
  rspec-rails
  rspec-rerun
  rubocop
  ruby-prof (= 1.4.2)
  simplecov (= 0.18.2)
  timecop
  yard

BUNDLED WITH
   2.1.4
                                                                        ## Gemspecs

metasploit-framework.gemspec

# coding: utf-8

# During build, the Gemfile is temporarily moved and
# we must manually define the project root
if ENV['MSF_ROOT']
  lib = File.realpath(File.expand_path('lib', ENV['MSF_ROOT']))
else
  # have to use realpath as metasploit-framework is often loaded through a symlink and tools like Coverage and debuggers
  # require realpaths.
  lib = File.realpath(File.expand_path('../lib', __FILE__))
end

$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'metasploit/framework/version'
require 'metasploit/framework/rails_version_constraint'
require 'msf/util/helper'

Gem::Specification.new do |spec|
  spec.name          = 'metasploit-framework'
  spec.version       = Metasploit::Framework::GEM_VERSION
  spec.authors       = ['Metasploit Hackers']
  spec.email         = ['msfdev@metasploit.com']
  spec.summary       = 'metasploit-framework'
  spec.description   = 'metasploit-framework'
  spec.homepage      = 'https://www.metasploit.com'
  spec.license       = 'BSD-3-clause'

  # only do a git ls-files if the .git folder exists and we have a git binary in PATH
  if File.directory?(File.join(File.dirname(__FILE__), ".git")) && Msf::Util::Helper.which("git")
    spec.files         = `git ls-files`.split($/).reject { |file|
      file =~ /^external|^docs/
    }
  end
  spec.bindir = '.'
  if ENV['CREATE_BINSTUBS']
    spec.executables   = [
      'msfconsole',
      'msfd',
      'msfrpc',
      'msfrpcd',                                                                  'msfvenom'
    ]
  end
  spec.test_files    = spec.files.grep(%r{^spec/})
  spec.require_paths = ["lib"]

  spec.required_ruby_version = '>= 2.6'

  # Database support
  spec.add_runtime_dependency 'activerecord', *Metasploit::Framework::RailsVersionConstraint::RAILS_VERSION
  # Need 3+ for ActiveSupport::Concern
  spec.add_runtime_dependency 'activesupport', *Metasploit::Framework::RailsVersionConstraint::RAILS_VERSION
  # Needed for config.action_view for view plugin compatibility for Pro
  spec.add_runtime_dependency 'actionpack', *Metasploit::Framework::RailsVersionConstraint::RAILS_VERSION
  # Needed for some admin modules (cfme_manageiq_evm_pass_reset.rb)
  spec.add_runtime_dependency 'bcrypt'                                        # Needed for Javascript obfuscation
  spec.add_runtime_dependency 'jsobfu'
  # Needed for some admin modules (scrutinizer_add_user.rb)
  spec.add_runtime_dependency 'json'
  # Metasm compiler/decompiler/assembler
  spec.add_runtime_dependency 'metasm'
  # Metasploit::Concern hooks
  spec.add_runtime_dependency 'metasploit-concern'
  # Metasploit::Credential database models
  spec.add_runtime_dependency 'metasploit-credential'
  # Database models shared between framework and Pro.
  spec.add_runtime_dependency 'metasploit_data_models'
  # Things that would normally be part of the database model, but which       # are needed when there's no database
  spec.add_runtime_dependency 'metasploit-model'
  # Needed for Meterpreter
  spec.add_runtime_dependency 'metasploit-payloads', '2.0.77'
  # Needed for the next-generation POSIX Meterpreter
  spec.add_runtime_dependency 'metasploit_payloads-mettle', '1.0.18'
  # Needed by msfgui and other rpc components
  spec.add_runtime_dependency 'msgpack'
  # get list of network interfaces, like eth* from OS.
  spec.add_runtime_dependency 'network_interface'
  # NTLM authentication
  spec.add_runtime_dependency 'rubyntlm'
  # Needed by anemone crawler
  spec.add_runtime_dependency 'nokogiri'
  # Needed by db.rb and Msf::Exploit::Capture
  spec.add_runtime_dependency 'packetfu'
  # For sniffer and raw socket modules
  spec.add_runtime_dependency 'pcaprub'
  # Used by the Metasploit data model, etc.
  # bound to 0.2x for Activerecord 4.2.8 deprecation warnings:
  # https://github.com/ged/ruby-pg/commit/c90ac644e861857ae75638eb6954b1cb49617090
  spec.add_runtime_dependency 'pg'
  # Run initializers for metasploit-concern, metasploit-credential, metasploit_data_models Rails::Engines
  spec.add_runtime_dependency 'railties'
  # required for OS fingerprinting
  spec.add_runtime_dependency 'recog'
  # required for bitlocker fvek extraction
  spec.add_runtime_dependency 'openssl-ccm'
  # Needed for documentation generation
  spec.add_runtime_dependency 'octokit'
  spec.add_runtime_dependency 'redcarpet'
  # Needed for Microsoft patch finding tool (msu_finder)
  spec.add_runtime_dependency 'patch_finder'
  # Required for Metasploit Web Services
  spec.add_runtime_dependency 'puma'
  spec.add_runtime_dependency 'thin'
  spec.add_runtime_dependency 'sinatra'
  spec.add_runtime_dependency 'warden'
  spec.add_runtime_dependency 'swagger-blocks'
  # Required for JSON-RPC client
  spec.add_runtime_dependency 'em-http-request'
  # TimeZone info
  spec.add_runtime_dependency 'tzinfo-data'
  # Gem for dealing with SSHKeys
  spec.add_runtime_dependency 'sshkey'
  # Library for interpreting Windows error codes and strings
  spec.add_runtime_dependency 'windows_error'
  # This used to be depended on by nokogiri, depended on by wmap              if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.3.0')
    spec.add_runtime_dependency 'xmlrpc'
  end
  # Gem for handling Cookies
  spec.add_runtime_dependency 'http-cookie'                                    # Needed for some modules (polkit_auth_bypass.rb)
  spec.add_runtime_dependency 'unix-crypt'                                  
  #
  # File Parsing Libraries                                                    #                                                                           # Needed by auxiliary/gather/http_pdf_authors module                        spec.add_runtime_dependency 'pdf-reader'
  spec.add_runtime_dependency 'ruby-macho'                                    # Needed for mongodb/bson
  spec.add_runtime_dependency 'bson'

  #
  # Protocol Libraries                                                        #                                                                           spec.add_runtime_dependency 'dnsruby'
  spec.add_runtime_dependency 'mqtt'                                          spec.add_runtime_dependency 'net-ssh'
  spec.add_runtime_dependency 'ed25519' # Adds ed25519 keys for net-ssh       spec.add_runtime_dependency 'bcrypt_pbkdf'
  spec.add_runtime_dependency 'ruby_smb', '~> 3.0'                            spec.add_runtime_dependency 'net-ldap'
  spec.add_runtime_dependency 'winrm'
  spec.add_runtime_dependency 'net-smtp'                                                                                                                  #                                                                           # REX Libraries                                                             #                                                                           # Core of the Ruby Exploitation Library                                     spec.add_runtime_dependency 'rex-core'                                      # Text manipulation library for things like generating random string        spec.add_runtime_dependency 'rex-text'                                      # Library for Generating Randomized strings valid as Identifiers such as variable names                                                                 spec.add_runtime_dependency 'rex-random_identifier'                         # library for creating Powershell scripts for exploitation purposes         spec.add_runtime_dependency 'rex-powershell'                                # Library for processing and creating Zip compatbile archives               spec.add_runtime_dependency 'rex-zip'                                       # Library for parsing offline Windows Registry files                        spec.add_runtime_dependency 'rex-registry'                                  # Library for parsing Java serialized streams                               spec.add_runtime_dependency 'rex-java'                                      # Library for C-style structs                                               spec.add_runtime_dependency 'rex-struct2'                                   # Library which contains architecture specific information such as registers, opcodes,                                                                  # and stack manipulation routines.                                          spec.add_runtime_dependency 'rex-arch'                                      # Library for working with OLE.                                             spec.add_runtime_dependency 'rex-ole'                                       # Library for creating and/or parsing MIME messages.                        spec.add_runtime_dependency 'rex-mime'                                      # Library for Dynamic Multi-byte x86 NOP generation                         spec.add_runtime_dependency 'rex-nop'                                       # Library for parsing and manipulating executable binaries                  spec.add_runtime_dependency 'rex-bin_tools'                                 # Rex Socket Abstraction Layer                                              spec.add_runtime_dependency 'rex-socket'                                    # Library for scanning a server's SSL/TLS capabilities                      spec.add_runtime_dependency 'rex-sslscan'                                   # Library and tool for finding ROP gadgets in a supplied binary             spec.add_runtime_dependency 'rex-rop_builder'                               # Library for polymorphic encoders; used for payload encoding               spec.add_runtime_dependency 'rex-encoder'                                   # Library for exploit development helpers                                   spec.add_runtime_dependency 'rex-exploitation'                              # Command line editing, history, and tab completion in msfconsole           spec.add_runtime_dependency 'rb-readline'
  # Needed by some modules                                                    spec.add_runtime_dependency 'rubyzip'
  # Needed for some post modules                                              spec.add_runtime_dependency 'sqlite3'
  # required for Time::TZInfo in ActiveSupport                                spec.add_runtime_dependency 'tzinfo'
  # Needed so that disk size output isn't horrible                            spec.add_runtime_dependency 'filesize'
  # Needed for openvas plugin                                                 spec.add_runtime_dependency 'openvas-omp'                                   # Needed by metasploit nessus bridge
  spec.add_runtime_dependency 'nessus_rest'                                   # Nexpose Gem
  spec.add_runtime_dependency 'nexpose'                                       # Needed for NDMP sockets
  spec.add_runtime_dependency 'xdr'                                           # Needed for ::Msf...CertProvider
  spec.add_runtime_dependency 'faker'                                         # Pinned as a dependency of i18n to the last working version
  spec.add_runtime_dependency 'concurrent-ruby','1.0.5'                       # SSH server library with ed25519
  spec.add_runtime_dependency 'hrr_rb_ssh-ed25519'                            # Needed for irb internal command
  spec.add_runtime_dependency 'irb'                                           # Lock reline version until Fiddle concerns are addressed
  spec.add_runtime_dependency 'reline', '0.2.5'                                                                                                           # AWS enumeration modules                                                   spec.add_runtime_dependency 'aws-sdk-s3'
  spec.add_runtime_dependency 'aws-sdk-ec2'                                   spec.add_runtime_dependency 'aws-sdk-iam'
                                                                              # Needed for WebSocket Support
  spec.add_runtime_dependency 'faye-websocket'                                spec.add_runtime_dependency 'eventmachine'
                                                                              spec.add_runtime_dependency 'faraday'                                     
  # Required for windows terminal colors as of Ruby 3.0                       spec.add_runtime_dependency 'win32api'
                                                                              spec.add_runtime_dependency 'zeitwerk'
end                                                                         ```
                                                                            --- TEMPLATE END ----------------------------------------------------------------                                                                       
Unfortunately, an unexpected error occurred, and Bundler cannot continue.   
First, try this link to see if there are any existing issue reports for this error:
https://github.com/rubygems/rubygems/search?q=could+not+find+a+temporary+directory&type=Issues
                                                                            If there aren't any reports for this error yet, please fill in the new issue form located at https://github.com/rubygems/rubygems/issues/new?labels=Bundler&template=bundler-related-issue.md, and copy and paste the report template above in there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions