From: Jim Weirich Date: 2004-08-20T09:20:19+09:00 Subject: Re: Rake and command line options jim@freeze.org said: > How does one pass options to rake? > E.g.: > > rake prefix=new_path > > Is this correct? > If so, how is this used inside the rake file? Inside the rake file, use: ENV['prefix'] It treats it like an environment variable so that you can put it in the environment or pass it in explicitly. -- -- Jim Weirich jim@weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)