8 examples for gem

{{ score }}
  # get the latest update of a certain gem
gem update bropages
        
{{ score }}
  # yo specific version
gem install -v=0.0.15 bropages
        
{{ score }}
  # Uninstall all gems
gem list | cut -d" " -f1 | xargs gem uninstall -aIx
        
{{ score }}
  # show installed gems
gem list
        
{{ score }}
  # Print out gem's internal environment variables,
# which tells you things like where gems are
# being installed:
gem env
        
{{ score }}
  # Show more info for a gem search
gem search -d cocoapods
        
{{ score }}
  # Update all gems
gem update
        
{{ score }}
  # Install a gem (for instance example "bropages") locally in your user directory
gem install --user-install bropages

# You may need to install the ruby development environment beforehand.
# In Ubuntu, as of 31/08/2016: `sudo apt-get install ruby-dev`
#
# After a first `gem install --user-install`, pay attention to the message
# telling you to add the local gem bin directory to you PATH.