Check ENV['GIZMO_DEBUG'] =~ /^(true|t|yes|y|1)$/i
Check ENV['GIZMO_DEBUG'] =~ /^(true|t|yes|y|1)$/i

* checking if `ENV['GIZMO_DEBUG']` will return true no matter what the
  variable is set to as long as it has a value since ENV vars are
  actually strings.
* update the if statement to check that ENV['GIZMO_DEBUG'] has a truthy
  value with this regex /^(true|t|yes|y|1)$/i

jarthod/survey-gizmo-ruby,RipTheJacker/survey-gizmo-ruby