Upgrade rails in Gemfile to fix production problem