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
What version/revision of BeEF are you using?
0.5.0.0
On what version of Ruby?
2.7
On what browser?
n/a
On what operating system?
Kali 2020.1
Configuration
Are you using a non-default configuration?
no
Have you enabled or disabled any BeEF extensions?
no
Summary
During install I get a permissions error on the gem folder You don't have write permissions for the /var/lib/gems/2.7.0 directory.
I suspect it's due to the Kali 2020 switch from defaulting to root user
Expected Behaviour
install script runs correctly
Actual Behaviour
...
[INFO] Detecting Ruby environment...
[INFO] Ruby version 2.7.1 is installed
[INFO] Updating rubygems...
Updating rubygems-update
Fetching rubygems-update-3.1.4.gem
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /var/lib/gems/2.7.0 directory.
Steps to Reproduce
New install of Kali 2020.1
run install script
The text was updated successfully, but these errors were encountered:
You need to root privileges to install gems (unless you're using a Ruby version management tool such as rvm or rbenv). You can gain root privileges with su or sudo.
The installer should probably be updated to use sudo.
Environment
What version/revision of BeEF are you using?
0.5.0.0
On what version of Ruby?
2.7
On what browser?
n/a
On what operating system?
Kali 2020.1
Configuration
Are you using a non-default configuration?
no
Have you enabled or disabled any BeEF extensions?
no
Summary
During install I get a permissions error on the gem folder
You don't have write permissions for the /var/lib/gems/2.7.0 directory.
I suspect it's due to the Kali 2020 switch from defaulting to root user
Expected Behaviour
install script runs correctly
Actual Behaviour
... [INFO] Detecting Ruby environment... [INFO] Ruby version 2.7.1 is installed [INFO] Updating rubygems... Updating rubygems-update Fetching rubygems-update-3.1.4.gem ERROR: While executing gem ... (Gem::FilePermissionError) You don't have write permissions for the /var/lib/gems/2.7.0 directory.
Steps to Reproduce
New install of Kali 2020.1
run install script
The text was updated successfully, but these errors were encountered: