Added simple test to check the version of ruby.

This script need 1.9 +