Update Gemfile.lock phrase version
Return correct status code on failure