Implement better compiler settings for ruby