updated exit_value to hold 0 by default for ruby 1.8.7