Use ruby 1.8.7 syntax in case system ruby is old