Package: shelr
Version: 0.16.3-2
Severity: grave
Tags: sid, trixie
Found: 0.16.3-2.1

Ruby 3.2 removed File.exists and Dir.exists methods: 
- https://bugs.ruby-lang.org/issues/17391
- 
https://www.reddit.com/r/ruby/comments/1196wti/psa_and_a_little_rant_fileexists_direxists/

I installed shelr today, and for the command "shelr record" it says:
/usr/lib/ruby/vendor_ruby/shelr/recorder.rb:92:in `check_record_dir': undefined 
method `exists?' for class File (NoMethodError)

      FileUtils.mkdir_p(record_dir) unless File.exists?(record_dir)
                                                                  ^^^^^^^^
        from /usr/lib/ruby/vendor_ruby/shelr/recorder.rb:17:in `record!'
        from /usr/lib/ruby/vendor_ruby/shelr/recorder.rb:8:in `record!'
        from /usr/bin/shelr:49:in `<main>'


Also, sherl.tv is long gone: 
https://github.com/shelr/shelr.tv/commit/1bc537c2516811a07fce902e6bbf58eecbd81f2d

--
William Desportes

Reply via email to