Fix Ruby version and gemset declarations for cross-platform capability