On 2/24/07, Manas Dadarkar <manasd / gmail.com> 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
> <ruby_options>
>
> 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