extended code to check ruby version for irb, update #2530