Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Update Rubygems for all rbenv rubies
#! /usr/bin/env bash
set -e
eval "$(rbenv init -)"
for version in `rbenv whence gem`; do
rbenv shell "$version"
echo "Updating rubygems for $version"
gem update --system --no-document --quiet
echo ""
done
@dannykopping

This comment has been minimized.

Copy link

dannykopping commented Aug 28, 2019

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.