Make specs pass against Rails 4

Task 11730
Get rid of ruby1.8 gems in Gemfile

Task 11730