Project

General

Profile

Actions

Bug #38418

closed

Pin spring to 4.2.1 in development environment

Added by Leos Stejskal 2 days ago. Updated 2 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Spring v4.3.0, in combination with Ruby 3.0.7 and Rails 7, is causing an error that blocks the Rails start.
Error: "method_missing: undefined method 'root' for Rails::Application:Class (NoMethodError)"

One solution could be to upgrade Ruby to 3.1.7, but that doesn't work on the latest Fedora 42 [1].
And upgrading to 3.2.z is not feasible due to some gems limiting Ruby versions to < 3.2 (safe-render, I think).

Reported issues:
[0] https://github.com/rails/spring/issues/737
[1] https://github.com/rbenv/ruby-build/discussions/2529


Related issues 1 (1 open0 closed)

Related to Foreman - Bug #38419: TODO: Update spring in development to the latest versionNewActions
Actions #1

Updated by The Foreman Bot 2 days ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/10539 added
Actions #2

Updated by Leos Stejskal 2 days ago

  • Related to Bug #38419: TODO: Update spring in development to the latest version added
Actions #3

Updated by The Foreman Bot 2 days ago

  • Fixed in Releases 3.15.0 added
Actions #4

Updated by Leos Stejskal 2 days ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF