Lost Gem Scripts

A variety of inhouse gem scripts have been lost. The gems are
installed and running fine. Is there a way to recreate the gem script
from the gem? I see the specification command for displaying the YAML
information. Anything for recreating the ruby script?

If you go to where the gems are installed (for me, it's
/opt/local/lib/ruby/gems/1.8) there should be a subdirectory called
"specifications". In there should be the gemspecs for all of your
installed gems.

And now for the unsolicited lecture :wink: Source control, backups. That's
all :slight_smile:

Ben

ยทยทยท

On Wed, Sep 06, 2006, dkmd_nielsen@hotmail.com wrote:

A variety of inhouse gem scripts have been lost. The gems are
installed and running fine. Is there a way to recreate the gem script
from the gem? I see the specification command for displaying the YAML
information. Anything for recreating the ruby script?