ruby gems

Posted on April 20, 2008. Filed under: Uncategorized |

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

Make a Comment

Make a Comment: ( None so far )

blockquote and a tags work here.

  •  

    April 2008
    M T W T F S S
    « Mar   Jun »
     123456
    78910111213
    14151617181920
    21222324252627
    282930  
  • My Fav

Liked it here?
Why not try sites on the blogroll...