run `ruby -v` directly to determine version