From: Zouplaz Date: 2008-11-10T23:47:46+09:00 Subject: Re: Require and symbolic links le 09/11/2008 21:47, Stefan Lang nous a dit: > > Personally, I wouldn't bother. There are a couple of install options > that, depending on the situation, make much more sense and > are less brittle: > > 1) If you want to make install convenient for other Ruby developers, > make a gem. (And if they don't like a gem they'll know how to unpack > it and scatter the files all over their harddrives anyway they please.) > > 2) If you want to distribute to Linux/Unix users in general, make > a deb or RPM or whatever package. > > 3) If you want to give the program to people who have little > computer knowledge, try RubyScript2Exe > (http://www.erikveen.dds.nl/rubyscript2exe/). That packs > everything into a single clickable executable. > Thanks, I'll give File.readlink a look - You're right about using an adequate packaging solution, except that the final user is me ;-) This is for a program that I often upgrade and which is runned on 2 machines having different directory structures - I would like to avoid the tedious task of modifying the source after every upgrade