updated gemfile to add exception handling to staging