Lost Gem Scripts

D

dkmd_nielsen

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?
 
B

Ben Bleything

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,211
Messages
2,571,092
Members
47,694
Latest member
digiadvancemarketing

Latest Threads

Top