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 online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
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)