Cache the gems and lock down the ruby version