svn2git crashes due to API change in ruby 3.2

Bug #2073346 reported by Coenraad Stijne
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
svn2git (Ubuntu)
New
Undecided
Unassigned

Bug Description

svn2git will crash with the following error message:

/usr/lib/ruby/vendor_ruby/svn2git/migration.rb:58:in `parse': undefined method `exists?' for File:Class (NoMethodError)

Due to API change, `exists` -> `exist`

svn2git:
  Installed: 2.4.0-3
  Candidate: 2.4.0-3
  Version table:
 *** 2.4.0-3 500
        500 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages
        100 /var/lib/dpkg/status

DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04 LTS"
PRETTY_NAME="Ubuntu 24.04 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.