Now, if you throw Windows into the mix it is a bit more of a pain, but doesn't Gems handle the windows/unix path variations already?
Sincerely,
Anthony Eden
On 8/23/06, Jim Freeze <[EMAIL PROTECTED]> wrote:
HiI have the same need at work, but with the added requirement that the machinesare on different platforms (Linux, Sun and HP).We use synchronicity to deploy files throughout the company. Synchronicity isa version management system and replicator combined. I started out using thismethod, but the pain is in managment of the gems and all their files which canbe somewhat scattered.We haven't had a problem (that I know of) with gems putting files in /usr/local sincewe install with the '-i' flag, but gems have the major downfall of putting explicit pathto ruby on the shebang line. This means I have to edit every gem that gets installedthat has an executable.I am currently tinkering with the idea that instead of having Synchronicity managethe gems, let rubygems manage the gems. So my method would entail maintaininga list of gems and their versions. Then each location would install gems from the listand, if needed, installed on multiple platforms. This way, each site can choose whereto put all these third party gems and I don't have to manage the headache of keepingthe revision control system cleaned up.The only inhibitor to launching this scheme is the machine specific shebang path.I guess I need to just find the time and submit a patch.JimOn Aug 21, 2006, at 11:07 PM, hbeaumont hbeaumont wrote:Hi,Please point me to the correct list if this is off-topic.I need to replicate my installed gems across several machines. I amtrying to find the best way to do this.I had considered rsyncing /usr/local/lib/rubybut many gems also install things into /usr/local/bin/ etc.Is there a good way to do this?I had considered a simple scripts of each install:/bin/bashgem install foogem install baretc.but I really need something that will let me know 100% for sure thateverything is the same.Is there an easy way to have a gem report what files it installed?I suppose in the end I could open each gem setup files and find allthe install lines.I just wanted to check the list first to see if there is a better orstandard way to do this.Thanks._______________________________________________Rubygems-developers mailing listJim Freeze
_______________________________________________
Rubygems-developers mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rubygems-developers
--
Camber Corporation Asia-Pacific Office
Email: [EMAIL PROTECTED]
Cell: 808 782-5046
Current Location: Washington DC
_______________________________________________ Rubygems-developers mailing list [email protected] http://rubyforge.org/mailman/listinfo/rubygems-developers
