setting ts=2 for ruby