Read more

Error "The --deployment flag requires a Gemfile.lock. Please make sure you have checked your Gemfile.lock into version control before deploying."

Kim Klotz
December 20, 2011Software engineer at makandra GmbH

If you get this error while deploy and you are sure the Gemfile.lock is in the version control check your releases directory.

Illustration book lover

Growing Rails Applications in Practice

Check out our e-book. Learn to structure large Ruby on Rails codebases with the tools you already know and love.

  • Introduce design conventions for controllers and user-facing models
  • Create a system for growth
  • Build applications to last
Read more Show archive.org snapshot

This error can occur if someone/something copy a file or directory into your releases directory.

Posted by Kim Klotz to makandra dev (2011-12-20 18:57)