If you get this error while deploy and you are sure the Gemfile.lock is in the version control check your releases directory.
Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!
This error can occur if someone/something copy a file or directory into your releases directory.