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

Luis Lavena luislavena at gmail.com
Tue Dec 29 10:43:38 EST 2009


On Mon, Dec 28, 2009 at 8:13 PM, Jim Weirich <jim.weirich at gmail.com> wrote:
> 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
>   end
>
> 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?
>

Not from here ;-)

Sounds good for me.
-- 
Luis Lavena
AREA 17
-
Perfection in design is achieved not when there is nothing more to add,
but rather when there is nothing more to take away.
Antoine de Saint-Exupéry


More information about the Rake-devel mailing list