Read more

Error during Rails 5 upgrade: Environment data not found in the schema

Dominik Schöler
December 08, 2017Software engineer at makandra GmbH

This error is raised because your old database does not have a configured environment yet, which Rails 5 enforces.

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

If this error occurs while migrating your parallel test databases, make sure to update the parallel_tests gem first: current versions fix this. If you're still using Cucumber < v3, the latest version of parallel_tests will be 2.18.0.

Posted by Dominik Schöler to makandra dev (2017-12-08 10:41)