Project

General

Profile

Refactor #35420

Tracker #34647: Rails 7.0 Tracker

Drop boot_settings.rb early loading mechanism

Added by Ewoud Kohl van Wijngaarden 3 months ago. Updated 1 day ago.

Status:
Closed
Priority:
Normal
Category:
Rails
Target version:
-
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

With Rails 7 require_relative no longer works in a Gemfile (maybe it's Zeitwerk?). Currently we only support Rails 6.1 anyway and if we can't use the mechanism for Rails 7 this mechanism should be removed.

Associated revisions

Revision afd05182 (diff)
Added by Ewoud Kohl van Wijngaarden 3 months ago

Fixes #35420 - Drop boot_settings.rb for early settings

With Rails 7 require_relative no longer works in a Gemfile (maybe it's
Zeitwerk?). Currently we only support Rails 6.1 anyway and if we can't
use the mechanism for Rails 7 this mechanism should be removed.

An environment variable has been considered but in testing the
environment variable was not passed on and issues with the lockfile
showed up.

When we upgrade Rails to 7.0 a new mechnism needs to be found.

Revision 0247a5d3 (diff)
Added by Ewoud Kohl van Wijngaarden 3 months ago

Refs #35420 - Remove unused settings.yaml.dist file

Fixes: afd0518243e3e478195c92cc16cd5f809d170032

History

#1 Updated by The Foreman Bot 3 months ago

  • Assignee set to Ewoud Kohl van Wijngaarden
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/9371 added

#2 Updated by The Foreman Bot 3 months ago

  • Fixed in Releases 3.5.0 added

#3 Updated by The Foreman Bot 3 months ago

  • Pull request https://github.com/theforeman/foreman/pull/9376 added

#4 Updated by Ewoud Kohl van Wijngaarden 3 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Ewoud Kohl van Wijngaarden 1 day ago

  • Triaged changed from No to Yes

Also available in: Atom PDF