From: Craig Beck Date: 2007-07-09T11:07:27+09:00 Subject: Re: Oh the pain! Distributing Ruby apps On Jul 6, 2007, at 4:14 AM, Sharon Phillips wrote: > Hi, > > I've written some small Ruby apps for monitoring things at work but > am not enjoying distributing them. > Seems for each person I have to install Ruby, then the extra > libraries I use (currently just ori8 and net-ssh). I'd like to > write a gui front end, but shudder at the thought of then having to > install qt / fox / whatever. > > Am I missing something here? Do I have to do this for each machine > in order to just let someone else run a Ruby script? > > How can I lessen the pain? > Is it possible to install the libraries on the LAN and each machine > run them from there? Try packaging your tools as gems. You can run a gem server of one of your local boxes to distribute them to the other client machines, and it makes it simple for pushing updates (with rollback even). Gems can define the dependencies they need and you can serve these from the same machine so you don't have to go outside your network. -- Craig Beck AIM: kreiggers