Use `rbenv global` for detecting ruby version