Correct the Gemfile and generate lock