-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
Description
-- ERROR REPORT TEMPLATE -------------------------------------------------------
Gem::FilePermissionError: You don't have write permissions for the /var/lib/gems/3.1.0 directory.
/usr/local/lib/site_ruby/3.1.0/rubygems/installer.rb:712:in `verify_gem_home'
/usr/local/lib/site_ruby/3.1.0/rubygems/installer.rb:902:in `pre_install_checks'
/usr/local/lib/site_ruby/3.1.0/bundler/rubygems_gem_installer.rb:64:in `pre_install_checks'
/usr/local/lib/site_ruby/3.1.0/bundler/rubygems_gem_installer.rb:12:in `install'
/usr/local/lib/site_ruby/3.1.0/bundler/source/rubygems.rb:198:in `install'
/usr/local/lib/site_ruby/3.1.0/bundler/installer/gem_installer.rb:54:in `install'
/usr/local/lib/site_ruby/3.1.0/bundler/installer/gem_installer.rb:16:in `install_from_spec'
/usr/local/lib/site_ruby/3.1.0/bundler/installer/parallel_installer.rb:156:in `do_install'
/usr/local/lib/site_ruby/3.1.0/bundler/installer/parallel_installer.rb:147:in `block in worker_pool'
/usr/local/lib/site_ruby/3.1.0/bundler/worker.rb:62:in `apply_func'
/usr/local/lib/site_ruby/3.1.0/bundler/worker.rb:57:in `block in process_queue'
/usr/local/lib/site_ruby/3.1.0/bundler/worker.rb:54:in `loop'
/usr/local/lib/site_ruby/3.1.0/bundler/worker.rb:54:in `process_queue'
/usr/local/lib/site_ruby/3.1.0/bundler/worker.rb:90:in `block (2 levels) in create_threads'
Errno::EACCES: Permission denied @ rb_sysopen - /var/lib/gems/3.1.0/bundler.lock
/usr/local/lib/site_ruby/3.1.0/bundler/process_lock.rb:9:in `initialize'
/usr/local/lib/site_ruby/3.1.0/bundler/process_lock.rb:9:in `open'
/usr/local/lib/site_ruby/3.1.0/bundler/process_lock.rb:9:in `lock'
/usr/local/lib/site_ruby/3.1.0/bundler/installer.rb:71:in `run'
/usr/local/lib/site_ruby/3.1.0/bundler/installer.rb:23:in `install'
/usr/local/lib/site_ruby/3.1.0/bundler/cli/install.rb:62:in `run'
/usr/local/lib/site_ruby/3.1.0/bundler/cli.rb:261:in `block in install'
/usr/local/lib/site_ruby/3.1.0/bundler/settings.rb:131:in `temporary'
/usr/local/lib/site_ruby/3.1.0/bundler/cli.rb:260:in `install'
/usr/local/lib/site_ruby/3.1.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/usr/local/lib/site_ruby/3.1.0/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
/usr/local/lib/site_ruby/3.1.0/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
/usr/local/lib/site_ruby/3.1.0/bundler/cli.rb:34:in `dispatch'
/usr/local/lib/site_ruby/3.1.0/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
/usr/local/lib/site_ruby/3.1.0/bundler/cli.rb:28:in `start'
/usr/lib/ruby/gems/3.1.0/gems/bundler-2.4.12/exe/bundle:45:in `block in <top (required)>'
/usr/local/lib/site_ruby/3.1.0/bundler/friendly_errors.rb:117:in `with_friendly_errors'
/usr/lib/ruby/gems/3.1.0/gems/bundler-2.4.12/exe/bundle:33:in `<top (required)>'
/usr/local/bin/bundle:25:in `load'
/usr/local/bin/bundle:25:in `<main>'
Environment
Bundler 2.4.12
Platforms ruby, x86_64-linux-gnu
Ruby 3.1.2p20 (2022-04-12 revision 4491bb740a9506d76391ac44bb2fe6e483fec952) [x86_64-linux-gnu]
Full Path /usr/bin/ruby3.1
Config Dir /etc
RubyGems 3.4.12
Gem Home /var/lib/gems/3.1.0
Gem Path /home/remo/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0
User Home /home/remo
User Path /home/remo/.local/share/gem/ruby/3.1.0
Bin Dir /usr/local/bin
OpenSSL
Compiled OpenSSL 3.0.7 1 Nov 2022
Loaded OpenSSL 3.0.8 7 Feb 2023
Cert File /usr/lib/ssl/cert.pem
Cert Dir /usr/lib/ssl/certs
Tools
Git 2.39.2
RVM not installed
rbenv not installed
chruby not installed
Bundler Build Metadata
Built At 2023-04-11
Git SHA e2cf278db1
Released Version true
Bundler settings
with
Set for your local app (/home/remo/beef/.bundle/config): [:geoip, :ext_msf, :ext_notifications, :ext_dns, :ext_qrcode]
without
Set for your local app (/home/remo/beef/.bundle/config): [:development, :test]
Gemfile
Gemfile
#
# Copyright (c) 2006-2023 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
#gem 'simplecov', require: false, group: :test
gem 'net-smtp', require: false
gem 'json'
gem 'eventmachine', '~> 1.2', '>= 1.2.7'
gem 'thin', '~> 1.8'
gem 'sinatra', '~> 3.0'
gem 'rack', '~> 2.2'
gem 'rack-protection', '~> 3.0.5'
gem 'em-websocket', '~> 0.5.3' # WebSocket support
gem 'uglifier', '~> 4.2'
gem 'mime-types', '~> 3.4', '>= 3.4.1'
gem 'execjs', '~> 2.8', '>= 2.8.1'
gem 'ansi', '~> 1.5'
gem 'term-ansicolor', :require => 'term/ansicolor'
gem 'rubyzip', '~> 2.3'
gem 'espeak-ruby', '~> 1.1.0' # Text-to-Voice
gem 'rake', '~> 13.0'
gem 'otr-activerecord', '~> 2.1', '>= 2.1.2'
gem 'sqlite3', '~> 1.6', '>= 1.6.1'
gem 'rubocop', '~> 1.50.2', require: false
# Geolocation support
group :geoip do
gem 'maxmind-db', '~> 1.1', '>= 1.1.1'
end
gem 'parseconfig', '~> 1.1', '>= 1.1.2'
gem 'erubis', '~> 2.7'
# Metasploit Integration extension
group :ext_msf do
gem 'msfrpc-client', '~> 1.1', '>= 1.1.2'
gem 'xmlrpc', '~> 0.3.2'
end
# Notifications extension
group :ext_notifications do
# Pushover
gem 'rushover', '~> 0.3.0'
# Slack
gem 'slack-notifier', '~> 2.4'
end
# DNS extension
group :ext_dns do
gem 'async-dns', '~> 1.3'
gem 'async', '~> 1.31'
end
# QRcode extension
group :ext_qrcode do
gem 'qr4r', '~> 0.6.1'
end
# For running unit tests
group :test do
gem 'test-unit-full', '~> 0.0.5'
gem 'rspec', '~> 3.12'
gem 'rdoc', '~> 6.5'
gem 'browserstack-local', '~> 1.4'
gem 'irb', '~> 1.6'
gem 'pry-byebug', '~> 3.10', '>= 3.10.1'
gem 'rest-client', '~> 2.1.0'
gem 'websocket-client-simple', '~> 0.6.1'
# curb gem requires curl libraries
# sudo apt-get install libcurl4-openssl-dev
gem 'curb', '~> 1.0', '>= 1.0.5'
# selenium-webdriver 3.x is incompatible with Firefox version 48 and prior
# gem 'selenium' # Requires old version of selenium which is no longer available
gem 'geckodriver-helper', '~> 0.24.0'
gem 'selenium-webdriver', '~> 4.9'
# nokogiri is needed by capybara which may require one of the below commands
# sudo apt-get install libxslt-dev libxml2-dev
# sudo port install libxml2 libxslt
gem 'capybara', '~> 3.38'
end
source 'https://rubygems.org'Gemfile.lock
<No /home/remo/beef/Gemfile.lock found>
--- TEMPLATE END ----------------------------------------------------------------