Ben Bleything
9/5/2006 9:35:00 PM
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?
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 ;) Source control, backups. That's
all :)
Ben