ruby bits for Compass