ItsMikeE
2011-06-24 11:29:32 UTC
Thanks for the responses.
As you can see I have not used Ruby before.
Still going round in circles.
My variables are set up in the format of [:recipename][:recipeoption] so that
it is always clear which recipe a variable belongs to.
I am now trying to use true and false instead of specific values (at least for
now).
I have tried all kinds of only_if tests. Some cause syntax errors when I run
rake install, some at run-time.
Some do not cause syntax errors but are not running as expected.
How do I specify an only_if such that
only_if value of [:recipename][:recipeoption] is true?
As you can see I have not used Ruby before.
Still going round in circles.
My variables are set up in the format of [:recipename][:recipeoption] so that
it is always clear which recipe a variable belongs to.
I am now trying to use true and false instead of specific values (at least for
now).
I have tried all kinds of only_if tests. Some cause syntax errors when I run
rake install, some at run-time.
Some do not cause syntax errors but are not running as expected.
How do I specify an only_if such that
only_if value of [:recipename][:recipeoption] is true?