RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Why You Should Never Use sudo to Install Ruby Gems

Did you know gems can run arbitrary code during installation? Would you want to risk having your hard drive erased? Follow along with an example of how to build your own gem locally that can run harmless code during installation.

https://www.moncefbelyamani.com/why-you-should-never-use-sudo-to-install-ruby-gems/

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in