Exclude Ruby 1.8 and JRuby 1.8 for Rails 4.0 test.