devscript: check ruby version before execution
Merge pull request #7133 from alebcay/devscript-fix

devscript: check ruby version before execution