exclude rails 4 in ruby 1.8