Fixing heroku dependencies for Rails 4.0