fixed ruby and gems versioning issues