From: Jim Freeze Date: 2002-11-19T11:22:16+09:00 Subject: Re: install.rb/setup.rb question On Tuesday, 19 November 2002 at 7:18:21 +0900, nobu.nokada@softhome.net wrote: > Hi, > > At Tue, 19 Nov 2002 07:01:29 +0900, > Jim Freeze wrote: > > Overall, it depends on /usr/bin/env existing. From what I can tell, it seems > > ubiquitous(sp?). If your environment is somewhat controlled, it > > is a great solution. If your environment is not controlled, it is a good > > solution. One plus is, that you can change your path to point > > to a different install of Ruby and it will automatically use > > the right version. However, if the path in hardcoded in the shebang > > operator, then you are stuck with using the ruby that it points > > to. > > (Using env also lets you control environment variables.) > > OTOH, it may cause a security issue. Yes. In that case you can use all the options to env and specify both the path and all the env vars. -- Jim Freeze ---------- Why is the alphabet in that order? Is it because of that song?