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

Simon Quigley 2098878 at bugs.launchpad.net
Wed Feb 19 16:54:34 UTC 2025


** Also affects: ruby-blade (Ubuntu Noble)
   Importance: Undecided
       Status: New

** Also affects: ruby-blade (Ubuntu Oracular)
   Importance: Undecided
       Status: New

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

** Changed in: ruby-blade (Ubuntu Plucky)
     Assignee: Ubuntu Sponsors (ubuntu-sponsors) => (unassigned)

** Changed in: ruby-blade (Ubuntu Oracular)
   Importance: Undecided => High

** Changed in: ruby-blade (Ubuntu Noble)
   Importance: Undecided => High

** Changed in: ruby-blade (Ubuntu Plucky)
       Status: New => Fix Released

** Changed in: ruby-blade (Ubuntu Noble)
       Status: New => Confirmed

** Changed in: ruby-blade (Ubuntu Oracular)
       Status: New => Confirmed

** Changed in: ruby-blade (Ubuntu Noble)
     Assignee: (unassigned) => Julia Sarris (juliaphoebe)

** Changed in: ruby-blade (Ubuntu Oracular)
     Assignee: (unassigned) => Julia Sarris (juliaphoebe)

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2098878

Title:
  Deprecated exists? call in ruby >= 3.2.0 causes dependent build
  failure

Status in ruby-blade package in Ubuntu:
  Fix Released
Status in ruby-blade source package in Noble:
  Confirmed
Status in ruby-blade source package in Oracular:
  Confirmed
Status in ruby-blade source package in Plucky:
  Fix Released

Bug description:
  [ 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ruby-blade/+bug/2098878/+subscriptions





More information about the Ubuntu-sponsors mailing list