Major bug fixes with ruby versions and environments