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

Don't recommend installing gem with sudo #391

Merged
merged 1 commit into from Dec 15, 2020
Merged

Commits on Dec 15, 2020

  1. Don't recommend installing gem with sudo

    _Not_ installing gems using `sudo` has long been considered a best practice.
    
    The original post that popularized this from 10 years has since gone offline, but [it's cached here](https://web.archive.org/web/20101101064608/http://all-thing.net/sudo-gem-install-considered-harmful).  But since everything old is new again, this even came up again in [this week's Ruby Weekly](https://rubyweekly.com/issues/531) just this week (linking to [this new post](https://www.moncefbelyamani.com/why-you-should-never-use-sudo-to-install-ruby-gems/)).
    
    Here are a couple more [classics](https://thoughtbot.com/blog/psa-do-not-use-system-ruby) of the [genre](https://stackoverflow.com/questions/2119064/sudo-gem-install-or-gem-install-and-gem-locations).
    tjschuck committed Dec 15, 2020
    Copy the full SHA
    e926d59 View commit details
    Browse the repository at this point in the history