ruby gems
http://docs.rubygems.org/read/book/2
gem -v : would give the version
gem list –local : list of all gems in the system with thier version number.if there was 2 version then it would give them in descending order
gem outdated : would give list of gems which are outdate
gem update : would update all the gems.
gem update –include-dependencies –no-rdoc
gem cleanup : would clean the older version when there are 2 version available
gem uninstall y4mr : would uninstall that gem
gem install –remote y4mr : would install that gem from the remote repository…
gem install -v=2.0.2 rails would install a particular version of rails
gem dependency rails : would list all the dependencies for a gem
gem query -n ‘rai.*’ : (-n —> regular expression ) would query the gem which matches in thier name . you can make it remote by say –remote
gem unpack : would unpack all the gems to the rails/vendor/plugin
rails . : would get the new updated gems