You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Errno::ENOENT: No such file or directory - /data/data/com.termux/files/usr/bin/bundle
/data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/self_manager.rb:71:in `exec'
/data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/self_manager.rb:71:in `block in restart_with'
/data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler.rb:386:in `block in with_original_env'
/data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler.rb:649:in `with_env'
/data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler.rb:386:in `with_original_env'
/data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/self_manager.rb:70:in `restart_with'
/data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/self_manager.rb:56:in `install_and_restart_with'
/data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/self_manager.rb:22:in `install_locked_bundler_and_restart_with_it_if_needed'
/data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/cli/install.rb:15:in `run'
/data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/cli.rb:261:in `block in install'
/data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/settings.rb:142:in `temporary'
/data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/cli.rb:260:in `install'
/data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/vendor/thor/lib/thor/command.rb:28:in `run'
/data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/vendor/thor/lib/thor.rb:527:in `dispatch'
/data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/cli.rb:34:in `dispatch'
/data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/vendor/thor/lib/thor/base.rb:584:in `start'
/data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/cli.rb:28:in `start'
/data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/exe/bundle:37:in `block in <top (required)>'
/data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/lib/bundler/friendly_errors.rb:117:in `with_friendly_errors'
/data/data/com.termux/files/usr/lib/ruby/gems/3.2.0/gems/bundler-2.4.22/exe/bundle:29: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.4.22
Platforms ruby, x86-linux-android
Ruby 3.2.2p53 (2023-03-30 revision e51014f9c05aa65cbf203442d37fef7c12390015) [x86-linux-android]
Full Path /data/data/com.termux/files/usr/bin/ruby
Config Dir ./etc
RubyGems 3.4.10
Gem Home /data/data/com.termux/files/usr/lib/ruby/gems/3.2.0
Gem Path /data/data/com.termux/files/home/.local/share/gem/ruby/3.2.0:/data/data/com.termux/files/usr/lib/ruby/gems/3.2.0
User Home /data/data/com.termux/files/home
User Path /data/data/com.termux/files/home/.local/share/gem/ruby/3.2.0
Bin Dir /data/data/com.termux/files/usr/bin
OpenSSL
Compiled OpenSSL 3.1.0 14 Mar 2023
Loaded OpenSSL 3.1.4 24 Oct 2023
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.42.0
RVM not installed
rbenv not installed
chruby not installed
Gem.ruby /data/data/com.termux/files/usr/bin/ruby
bundle #! ruby
Bundler Build Metadata
Built At 2023-11-09
Git SHA ec2089640
Released Version true
Bundler settings
build.nokogiri
Set for the current user (/data/data/com.termux/files/home/.bundle/config): "--use-system-libraries --with-xml2-include=/data/data/com.termux/files/usr/include/libxml2"
gemfile
Set via BUNDLE_GEMFILE: "/data/data/com.termux/files/home/metasploit-framework/Gemfile"
jobs
Set for the current user (/data/data/com.termux/files/home/.bundle/config): 4
Gemfile
Gemfile
source'https://rubygems.org'# Add default group gems to `metasploit-framework.gemspec`:# spec.add_runtime_dependency '<name>', [<version requirements>]gemspecname: 'metasploit-framework'# separate from test as simplecov is not run on travis-cigroup:coveragedo# code coverage for testsgem'simplecov','0.18.2'endgroup:developmentdo# Markdown formatting for yardgem'redcarpet'# generating documentationgem'yard'# for development and testing purposesgem'pry-byebug'# Ruby Debugging Library - rebuilt and included by default from Ruby 3.1 onwards.# Replaces the old lib/debug.rb and provides more features.gem'debug','>= 1.0.0'# module documentationgem'octokit'# memory profilinggem'memory_profiler'# cpu profilinggem'ruby-prof','1.4.2'# Metasploit::Aggregator external session proxy# disabled during 2.5 transition until aggregator is available# gem 'metasploit-aggregator'endgroup:development,:testdo# running documentation generation tasks and rspec tasksgem'rake'# Define `rake spec`. Must be in development AND test so that its available by default as a rake test when the# environment is developmentgem'rspec-rails'gem'rspec-rerun'# Required during CI as well local developmentgem'rubocop'endgroup:testdo# automatically include factories from spec/factoriesgem'test-prof'gem'factory_bot_rails'# Make rspec output shorter and more usefulgem'fivemat'# rspec formatter for acceptance testsgem'allure-rspec'# Manipulate Time.now in specsgem'timecop'end
# coding: utf-8# During build, the Gemfile is temporarily moved and# we must manually define the project rootifENV['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.newdo |spec|
spec.name='metasploit-framework'spec.version=Metasploit::Framework::GEM_VERSIONspec.authors=['Metasploit Hackers']spec.email=['[email protected]']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 PATHifFile.directory?(File.join(File.dirname(__FILE__),".git")) && Msf::Util::Helper.which("git")spec.files=`git ls-files`.split($/).reject{ |file|
file =~ /^external|^docs|^\.solargraph\.yml/}endspec.bindir='.'ifENV['CREATE_BINSTUBS']spec.executables=['msfconsole','msfd','msfrpc','msfrpcd','msfvenom']endspec.test_files=spec.files.grep(%r{^spec/})spec.require_paths=["lib"]spec.required_ruby_version='>= 2.7'# Database supportspec.add_runtime_dependency'activerecord', *Metasploit::Framework::RailsVersionConstraint::RAILS_VERSION# Need 3+ for ActiveSupport::Concernspec.add_runtime_dependency'activesupport', *Metasploit::Framework::RailsVersionConstraint::RAILS_VERSION# Needed for config.action_view for view plugin compatibility for Prospec.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'# Improves bootup performance by caching expensive computationsspec.add_runtime_dependency'bootsnap'# Needed for Javascript obfuscationspec.add_runtime_dependency'jsobfu'# Needed for some admin modules (scrutinizer_add_user.rb)spec.add_runtime_dependency'json'# Metasm compiler/decompiler/assemblerspec.add_runtime_dependency'metasm'# Metasploit::Concern hooksspec.add_runtime_dependency'metasploit-concern'# Metasploit::Credential database modelsspec.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 databasespec.add_runtime_dependency'metasploit-model'# Needed for Meterpreterspec.add_runtime_dependency'metasploit-payloads','2.0.159'# Needed for the next-generation POSIX Meterpreterspec.add_runtime_dependency'metasploit_payloads-mettle','1.0.26'# Needed by msfgui and other rpc components# Locked until build env can handle newer version. See: https://github.com/msgpack/msgpack-ruby/issues/334spec.add_runtime_dependency'msgpack','~> 1.6.0'# get list of network interfaces, like eth* from OS.spec.add_runtime_dependency'network_interface'# NTLM authenticationspec.add_runtime_dependency'rubyntlm'# Needed by anemone crawler# Locked until build env can handle newer version due to native compile issue in 1.15.xspec.add_runtime_dependency'nokogiri','~> 1.14.0'# Needed by db.rb and Msf::Exploit::Capturespec.add_runtime_dependency'packetfu'# For sniffer and raw socket modulesspec.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/c90ac644e861857ae75638eb6954b1cb49617090spec.add_runtime_dependency'pg'# Run initializers for metasploit-concern, metasploit-credential, metasploit_data_models Rails::Enginesspec.add_runtime_dependency'railties'# required for OS fingerprintingspec.add_runtime_dependency'recog'# required for bitlocker fvek extractionspec.add_runtime_dependency'openssl-ccm'# Needed for documentation generation - locked unitl Ruby 2.6 support is droppedspec.add_runtime_dependency'octokit','~> 4.0'spec.add_runtime_dependency'redcarpet'# Needed for Microsoft patch finding tool (msu_finder)spec.add_runtime_dependency'patch_finder'# Required for Metasploit Web Servicesspec.add_runtime_dependency'puma'spec.add_runtime_dependency'ruby-mysql'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 clientspec.add_runtime_dependency'em-http-request'# TimeZone infospec.add_runtime_dependency'tzinfo-data'# Gem for dealing with SSHKeysspec.add_runtime_dependency'sshkey'# Library for interpreting Windows error codes and stringsspec.add_runtime_dependency'windows_error'# This used to be depended on by nokogiri, depended on by wmapifGem::Version.new(RUBY_VERSION) >= Gem::Version.new('2.3.0')spec.add_runtime_dependency'xmlrpc'end# Gem for handling Cookiesspec.add_runtime_dependency'http-cookie'# Needed for some modules (polkit_auth_bypass.rb)spec.add_runtime_dependency'unix-crypt'# Needed for Kerberos structure parsingspec.add_runtime_dependency'rasn1'## File Parsing Libraries## Needed by auxiliary/gather/http_pdf_authors modulespec.add_runtime_dependency'pdf-reader'spec.add_runtime_dependency'ruby-macho'# Needed for mongodb/bsonspec.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-sshspec.add_runtime_dependency'bcrypt_pbkdf'spec.add_runtime_dependency'ruby_smb','~> 3.2.0'spec.add_runtime_dependency'net-imap'# Used in Postgres auth for its SASL stringprep implementationspec.add_runtime_dependency'net-ldap'spec.add_runtime_dependency'net-smtp'spec.add_runtime_dependency'winrm'## REX Libraries## Core of the Ruby Exploitation Libraryspec.add_runtime_dependency'rex-core'# Text manipulation library for things like generating random stringspec.add_runtime_dependency'rex-text'# Library for Generating Randomized strings valid as Identifiers such as variable namesspec.add_runtime_dependency'rex-random_identifier'# library for creating Powershell scripts for exploitation purposesspec.add_runtime_dependency'rex-powershell'# Library for processing and creating Zip compatbile archivesspec.add_runtime_dependency'rex-zip'# Library for parsing offline Windows Registry filesspec.add_runtime_dependency'rex-registry'# Library for parsing Java serialized streamsspec.add_runtime_dependency'rex-java'# Library for C-style structsspec.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 generationspec.add_runtime_dependency'rex-nop'# Library for parsing and manipulating executable binariesspec.add_runtime_dependency'rex-bin_tools'# Rex Socket Abstraction Layerspec.add_runtime_dependency'rex-socket'# Library for scanning a server's SSL/TLS capabilitiesspec.add_runtime_dependency'rex-sslscan'# Library and tool for finding ROP gadgets in a supplied binaryspec.add_runtime_dependency'rex-rop_builder'# Library for polymorphic encoders; used for payload encodingspec.add_runtime_dependency'rex-encoder'# Library for exploit development helpersspec.add_runtime_dependency'rex-exploitation'# Command line editing, history, and tab completion in msfconsolespec.add_runtime_dependency'rb-readline'# Needed by some modulesspec.add_runtime_dependency'rubyzip'# Needed for some post modulesspec.add_runtime_dependency'sqlite3'# required for Time::TZInfo in ActiveSupportspec.add_runtime_dependency'tzinfo'# Needed so that disk size output isn't horriblespec.add_runtime_dependency'filesize'# Needed for openvas pluginspec.add_runtime_dependency'openvas-omp'# Needed by metasploit nessus bridgespec.add_runtime_dependency'nessus_rest'# Nexpose Gemspec.add_runtime_dependency'nexpose'# Needed for NDMP socketsspec.add_runtime_dependency'xdr'# Needed for ::Msf...CertProviderspec.add_runtime_dependency'faker'# SSH server library with ed25519spec.add_runtime_dependency'hrr_rb_ssh-ed25519'# Needed for irb internal commandspec.add_runtime_dependency'irb','~> 1.7.4'# AWS enumeration modulesspec.add_runtime_dependency'aws-sdk-s3'spec.add_runtime_dependency'aws-sdk-ec2'spec.add_runtime_dependency'aws-sdk-iam'spec.add_runtime_dependency'aws-sdk-ssm'# AWS session supportspec.add_runtime_dependency'aws-sdk-ec2instanceconnect'# Needed for WebSocket Supportspec.add_runtime_dependency'faye-websocket'spec.add_runtime_dependency'eventmachine'spec.add_runtime_dependency'faraday'spec.add_runtime_dependency'faraday-retry'# Required for windows terminal colors as of Ruby 3.0spec.add_runtime_dependency'win32api'spec.add_runtime_dependency'zeitwerk'# Required for PNG payload support.# WARNING: Chunky_PNG is vulnerable to decompression bomb attacks.# Do not use this to process untrusted PNG files! This is only to be used# to generate PNG files, not to parse untrusted PNG files.spec.add_runtime_dependency'chunky_png'end
--- TEMPLATE END ----------------------------------------------------------------
Unfortunately, an unexpected error occurred, and Bundler cannot continue.
This discussion was converted from issue #7164 on November 15, 2023 22:36.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Fetching bundler 2.1.4
Installing bundler 2.1.4
--- ERROR REPORT TEMPLATE -------------------------------------------------------
Environment
Bundler Build Metadata
Bundler settings
Gemfile
Gemfile
Gemfile.lock
Gemspecs
metasploit-framework.gemspec
--- 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=No+such+file+or+directory+-+%2Fdata%2Fdata%2Fcom.termux%2Ffiles%2Fusr%2Fbin%2Fbundle&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.
Beta Was this translation helpful? Give feedback.
All reactions