From: nobu.nokada@... Date: 2003-04-03T21:32:31+09:00 Subject: Re: Tricky install question Hi, At Thu, 3 Apr 2003 21:17:59 +0900, Mike Wyer wrote: > I'm trying to install ruby in our production environment, but that means I > have to "install" the code in a staging area, and then run our tools to > distribute it. The situation is something like this: > > Final location is: /prod/language/ruby/1.6.8/ > Compile area is: /dev/language/ruby/1.6.8/build/ > Staging area is: /dev/language/ruby/1.6.8/install/ What's your platform? Doesn't seem UNIX... If it's DOSISH system, 1.6 or later are relocatable. > So ruby must assume it's going to be running from > /prod/language/ruby/1.6.8, but it has to install into > /dev/language/ruby/1.6.8/install > > Is there an easy way of persuading instruby to do the right thing in this > situation? > > Setting DESTDIR to /dev gives /dev/prod/language/ruby/1.6.8/ which is no > good :) If your system supports symbolic link, you could use it. -- Nobu Nakada