Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sudo for gem install, ruby package manager check #1940

Merged
merged 1 commit into from
Jul 5, 2020

Conversation

DeezyE
Copy link
Contributor

@DeezyE DeezyE commented Jun 9, 2020

Thanks for submitting a PR! Please fill in this template where appropriate:

Category

install script

Feature/Issue Description

The install script now checks for Ruby package managers and will not install ruby if they are present.
Ruby version check takes package manager into account now
Added 'sudo' to the gem install to handle newer Kali 2020 where user is no longer root

Describe what changes

Checks whether rvm or rbenv are being used. Only installs ruby if package manager is NOT present

Relevant wiki page

I don't believe changes need to be made to wiki

@jcrew99
Copy link
Collaborator

jcrew99 commented Jul 5, 2020

works for me with rvm and is a good way to handle there being a ruby version before just installing ruby. It changes a command to sudo but beef runs as root anyway. I feel comfortable merging. Watch out for installation errors that may be related to this though

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants