Gem
From GarrettHoneycutt
Contents |
List installed gems
# gem list --localUpdating gems
update the gem system
# gem update --system --no-rdoc --no-ri -yinstall missing gems
# gem install --no-rdoc --no-ri -y rackupdate all gems, with exceptions
The exceptions in this case are `ruby2ruby` and `ParseTree`
$ for gem in $(gem list --local |grep ^[a-zA-Z] | awk '{print $1}' |grep -ve ruby2ruby -e ParseTree -e ^$); \ do echo "updating gem: $gem"; sudo gem update $gem -y --no-rdoc --no-ri ; done