Better handling of ruby version check for launch rake tasks