When creating applications normal messages should go to stdout and error messages should go to stderr, unfortunately there is not a nice ruby way the cleanest I have found is:

put "Message displayed in stdout"
$stderr.puts "Error displayed in stderr"