Ruby + gem Common commands: ruby-e ''require "watir"; puts Watir: IE :: VERSION ''# view watir VERSION gem-v # gem VERSION gem update # update all packages gem update -- system # update RubyGems software gem install rake # install rake, install rake from the local or remote server gem install rake -- remote # install rake from the remote server gem install watir-v (or -- version) 1.6.2 # specify the installation version of the gem uninstall rake # uninstall the rake package gem list d # list the locally started package gem query-n ''[0-9]'' -- local # search for a local package containing numbers: gem search log -- both # search for a package containing log strings from the local and remote servers: gem search log -- remoter # search for a package containing log strings only from a remote server package: gem search-r log # search for packages containing log strings from the remote server only. gem help # Wake-up help: gem help install # list the install command to help gem help examples # list the usage of gem commands some examples of gem build rake. gemspec # Set rake. compile gemspec into rake. gem check-v pkg/rake-0.4.0.gem # check if rake is valid gem cleanup # clear all old versions of the package, keep the latest version of gem contents rake # display the file gem dependency rails-v 0.10.1 contained in the rake package # list the packages that are mutually dependent on rails gem environment # view the gem environment