rails 4 fix and heroku gemfile update