gruntfile test and ruby version

use ruby version 1.9.1
use variable $is_gruntfile_present