ruby - How to extract information from a gem -


i need extract information gem such summary, authors , version , need in ruby code , gem still compressed in .tar file. can me?

you should use gem contents gemname [gemname ...] [options] information of gem. can read on useful gem commands in following articles:

  1. 25 gem commands rubygems
  2. ruby gems guide.

if need in ruby, can invoke bash command using ruby , pipe output appropriate stream.

please let me know if have questions!


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

android - Associate same looper with different threads -

visual studio 2010 - Connect to informix database windows form application -