automated ruby version checks and dependencies installation