Skip to content

Instantly share code, notes, and snippets.

@ericjsilva
Last active September 10, 2017 18:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ericjsilva/8d9cf72a8a67cce4d9e51d7ce2fd7c46 to your computer and use it in GitHub Desktop.
Save ericjsilva/8d9cf72a8a67cce4d9e51d7ce2fd7c46 to your computer and use it in GitHub Desktop.
Update All Ruby Gems at once

How to Update All Your Ruby Gems At Once

If you want to update every gem on your system, and don’t want to sit and do it one-by-one (and why would you want to do it one-by-one!?), here’s one way to do it. (I’m sure there are better ways, and I’d love to hear about them in the comments.)

sudo gem update `gem list | cut -d ' ' -f 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment