From: Chris Carter Date: 2007-02-25T02:13:59+09:00 Subject: Re: Ruby Rake On 2/24/07, Manas Dadarkar wrote: > Hi, > "make" has a -e option in which it reads environment variables and > uses those values for variables defined in the makefile. For e.g. > enviroment variable CC=cc -g can be used with make -e to get a debug > build. Is there something similar with Rake? And what is the ruby > equivalent of CC. Should I set in my environment RUBY=ruby > > > Thanks in advance for any help. > > Regards, > -Manas > > > Hi Manas, You can access environment variables in Rake like this: ENV['VARIABLE_NAME']. And you can set the options for running ruby with the RUBY_OPT environment variable -- Chris Carter concentrationstudios.com brynmawrcs.com