[Bug 2098878] [NEW] Deprecated exists? call in ruby >= 3.2.0 causes dependent build failure

Launchpad Bug Tracker 2098878 at bugs.launchpad.net
Wed Feb 19 16:37:48 UTC 2025


You have been subscribed to a public bug by Julia Sarris (juliaphoebe):

[ Impact ]

 * Starting in ruby 3.2.0, the exists? method was deprecated in favor
   of exist?. As a consequence, the "blade_file_options" method fails.

 * The rails package depends on ruby-blade, and is currently FTBFS
   because of this issue. 

 * This occurs in Noble and Oracular because of their ruby versions.
   The attached debdiff is for oracular.

[ Test Plan ]

 * Install the patched ruby-blade and attempt to use the 
   blade_file_options method. If the patch was successful the
   method not exist error will no longer occur. 

[ Where problems could occur ]

 * Problems could occur if this patch were to be applied to releases where
   the corresponding ruby version is less than 3.2.0. 

 * Currently, in ruby >= 3.2.0, blade_file_options fails outright. 
   The risk of regression is low because the method is currently nonfunctional.


[ Other Info ]

 * It's a small change, but blade is an important part of rails' build process.
   We currently cannot build rails from source in either Noble or Oracular without the 
   resolution of this issue.

** Affects: ruby-blade (Ubuntu)
     Importance: High
     Assignee: Ubuntu Sponsors (ubuntu-sponsors)
         Status: New


** Tags: regression-update
-- 
Deprecated exists? call in ruby >= 3.2.0 causes dependent build failure
https://bugs.launchpad.net/bugs/2098878
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list