sup-heliotrope / sup

A curses threads-with-tags style email client (mailing list: supmua@googlegroups.com)
http://sup-heliotrope.github.io
GNU General Public License v2.0
889 stars 96 forks source link

sup-sync-back-maildir crashes: tried to create Proc object without a block (ArgumentError) #603

Closed danc86 closed 2 years ago

danc86 commented 2 years ago
/home/dan/sup/bin/sup-sync-back-maildir:97:in `initialize': tried to create Proc object without a block (ArgumentError)
        from /home/dan/sup/bin/sup-sync-back-maildir:97:in `new'
        from /home/dan/sup/bin/sup-sync-back-maildir:97:in `block in <top (required)>'
        from /home/dan/sup/bin/sup-sync-back-maildir:91:in `each'
        from /home/dan/sup/bin/sup-sync-back-maildir:91:in `<top (required)>'
        from /home/dan/sup/vendor/bundle/ruby/3.0.0/bin/sup-sync-back-maildir:23:in `load'
        from /home/dan/sup/vendor/bundle/ruby/3.0.0/bin/sup-sync-back-maildir:23:in `<top (required)>'
        from /usr/share/gems/gems/bundler-2.2.22/lib/bundler/cli/exec.rb:63:in `load'
        from /usr/share/gems/gems/bundler-2.2.22/lib/bundler/cli/exec.rb:63:in `kernel_load'
        from /usr/share/gems/gems/bundler-2.2.22/lib/bundler/cli/exec.rb:28:in `run'
        from /usr/share/gems/gems/bundler-2.2.22/lib/bundler/cli.rb:474:in `exec'
        from /usr/share/gems/gems/bundler-2.2.22/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
        from /usr/share/gems/gems/bundler-2.2.22/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
        from /usr/share/gems/gems/bundler-2.2.22/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
        from /usr/share/gems/gems/bundler-2.2.22/lib/bundler/cli.rb:30:in `dispatch'
        from /usr/share/gems/gems/bundler-2.2.22/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
        from /usr/share/gems/gems/bundler-2.2.22/lib/bundler/cli.rb:24:in `start'
        from /usr/share/gems/gems/bundler-2.2.22/libexec/bundle:49:in `block in <top (required)>'
        from /usr/share/gems/gems/bundler-2.2.22/lib/bundler/friendly_errors.rb:128:in `with_friendly_errors'
        from /usr/share/gems/gems/bundler-2.2.22/libexec/bundle:37:in `<top (required)>'
        from /usr/bin/bundle:23:in `load'
        from /usr/bin/bundle:23:in `<main>'
gclves commented 2 years ago

Looks like this is due to usage of an API deprecated in Ruby 3. Patch incoming.