Run commands with specific ruby versions