Exactly what I wanted. Maybe I should add an entry to the FAQ... I got the first of 3 of 12 inoculations this week for a long trip and ever since have not been able to think straight. :-) Well at least it is an original excuse.
Regards On Feb 13, 3:01 pm, Jamis Buck <[email protected]> wrote: > See the #exists?(:var) method: > > http://wiki.capify.org/article/Exists%3F > > Hope that helps, > > Jamis > > On 2/13/09 7:29 AM, Gerhardus Geldenhuis wrote: > > > Hi > > I vaguely recall seeing a way to test for empty or non-existent > > variables but could not find it going through my archives. > > > I want to know if there is a way to test whether a variable has been > > declared/have a value? > > > Basically I want to write a pre-flight check program that checks that > > users have properly written a config file for a specific environment > > and that the deployment does not come down like a house of cards if > > one variable is missing. > > > Regards --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
