[Rake-devel] Removing ENV from the Task Argument Lookup Process

Jim Weirich jim.weirich at gmail.com
Mon Dec 28 18:13:41 EST 2009

I have received a suggestion to remove checking the environment for  
the value of a task argument.  For example, given:

    task :sample, [:path] do |task, args|
      puts args.path

will print out the value of the environment variable PATH.  The  
requester comments that the feature can cause bugs that are difficult  
to track down.  Upon reviewing his comment, I tend to agree with him.

So, is anyone taking advantage of this feature?  Would anyone be upset  
if we remove it?

-- Jim Weirich
-- jim.weirich at gmail.com

More information about the Rake-devel mailing list