Error with rails 4 and Ruby 2