helper for cross platform ruby testing