Builds the Ruby version and sets it as global