You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Came to this due to this error from bin/zat from faraday:
/usr/dependencies-cache/bundler/ruby/3.1.0/gems/faraday-0.9.2/lib/faraday/options.rb:153:in `new': tried to create Proc object without a block (ArgumentError)
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/faraday-0.9.2/lib/faraday/options.rb:153:in `memoized'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/faraday-0.9.2/lib/faraday/options.rb:234:in `<class:ProxyOptions>'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/faraday-0.9.2/lib/faraday/options.rb:216:in `<module:Faraday>'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/faraday-0.9.2/lib/faraday/options.rb:1:in `<top (required)>'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/faraday-0.9.2/lib/faraday.rb:80:in `require'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/faraday-0.9.2/lib/faraday.rb:80:in `block in require_libs'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/faraday-0.9.2/lib/faraday.rb:79:in `each'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/faraday-0.9.2/lib/faraday.rb:79:in `require_libs'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/faraday-0.9.2/lib/faraday.rb:240:in `<module:Faraday>'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/faraday-0.9.2/lib/faraday.rb:16:in `<top (required)>'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/zendesk_apps_tools-3.8.6/lib/zendesk_apps_tools/deploy.rb:1:in `require'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/zendesk_apps_tools-3.8.6/lib/zendesk_apps_tools/deploy.rb:1:in `<top (required)>'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/zendesk_apps_tools-3.8.6/lib/zendesk_apps_tools/command_helpers.rb:4:in `require'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/zendesk_apps_tools-3.8.6/lib/zendesk_apps_tools/command_helpers.rb:4:in `<top (required)>'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/zendesk_apps_tools-3.8.6/lib/zendesk_apps_tools/command.rb:6:in `require'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/zendesk_apps_tools-3.8.6/lib/zendesk_apps_tools/command.rb:6:in `<top (required)>'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/zendesk_apps_tools-3.8.6/bin/zat:13:in `require'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/zendesk_apps_tools-3.8.6/bin/zat:13:in `<top (required)>'
from bin/zat:29:in `load'
from bin/zat:29:in `<main>'
This gem has the dependency on faraday. I figured I could try updating, so cloned the repo, but on Ruby 3.1.0 I get a ton of failures:
# bundle exec rake
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
/usr/local/bin/ruby -I/usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib:/usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-support-3.4.1/lib /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb
Calling `DidYouMean::SPELL_CHECKERS.merge!(error_name => spell_checker)' has been deprecated. Please call `DidYouMean.correct_error(error_name, spell_checker)' instead.
/usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/configuration_options.rb:168: warning: Passing safe_level with the 2nd argument of ERB.new is deprecated. Do not use it, and specify other arguments as keyword arguments.
/usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/configuration_options.rb:168: warning: Passing trim_mode with the 3rd argument of ERB.new is deprecated. Use keyword argument like ERB.new(str, trim_mode: ...) instead.
............................................F.....FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF..........F.................................................FFFF.F..F.FFF.FFFFFF...FFFF..FFFFFFFFFFFFFFFFFF..FFF..FF..FF..F.......F.........................FFF.FF.F.......F.....FFFFFFF.FFFFFFFFFFFFFFFFFFF........
/usr/dependencies-cache/bundler/ruby/3.1.0/gems/i18n-0.9.5/lib/i18n/backend/base.rb:232:in `rescue in load_yml': can not load translations from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/faker-1.6.6/lib/locales/en-SG.yml: #<Psych::BadAlias: Unknown alias: male_first_name> (I18n::InvalidLocaleData)
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/i18n-0.9.5/lib/i18n/backend/base.rb:228:in `load_yml'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/i18n-0.9.5/lib/i18n/backend/base.rb:213:in `load_file'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/i18n-0.9.5/lib/i18n/backend/base.rb:15:in `block in load_translations'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/i18n-0.9.5/lib/i18n/backend/base.rb:15:in `each'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/i18n-0.9.5/lib/i18n/backend/base.rb:15:in `load_translations'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/i18n-0.9.5/lib/i18n/backend/simple.rb:63:in `init_translations'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/i18n-0.9.5/lib/i18n/backend/simple.rb:46:in `available_locales'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/i18n-0.9.5/lib/i18n/config.rb:43:in `available_locales'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/i18n-0.9.5/lib/i18n/config.rb:49:in `available_locales_set'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/i18n-0.9.5/lib/i18n.rb:289:in `locale_available?'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/i18n-0.9.5/lib/i18n.rb:295:in `enforce_available_locales!'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/i18n-0.9.5/lib/i18n.rb:163:in `translate'
from /root/apps/zendesk_apps_support/lib/zendesk_apps_support/i18n.rb:7:in `t'
from /root/apps/zendesk_apps_support/lib/zendesk_apps_support/manifest/no_override_hash.rb:17:in `message'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/formatters/exception_presenter.rb:52:in `formatted_cause'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/formatters/exception_presenter.rb:39:in `formatted_backtrace'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/formatters/exception_presenter.rb:70:in `colorized_formatted_backtrace'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/formatters/exception_presenter.rb:231:in `formatted_message_and_backtrace'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/formatters/exception_presenter.rb:84:in `fully_formatted_lines'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/formatters/exception_presenter.rb:76:in `fully_formatted'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/notifications.rb:200:in `fully_formatted'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/notifications.rb:114:in `block in fully_formatted_failed_examples'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/notifications.rb:113:in `each'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/notifications.rb:113:in `each_with_index'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/notifications.rb:113:in `fully_formatted_failed_examples'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/formatters/base_text_formatter.rb:33:in `dump_failures'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/reporter.rb:189:in `block in notify'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/reporter.rb:188:in `each'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/reporter.rb:188:in `notify'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/reporter.rb:160:in `block in finish'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/reporter.rb:175:in `close_after'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/reporter.rb:156:in `finish'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/reporter.rb:79:in `report'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:117:in `run_specs'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:93:in `run'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:78:in `run'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:45:in `invoke'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/exe/rspec:4:in `<main>'
/usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:430:in `visit_Psych_Nodes_Alias': Unknown alias: male_first_name (Psych::BadAlias)
from /usr/local/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
from /usr/local/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:345:in `block in revive_hash'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each_slice'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `revive_hash'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:167:in `visit_Psych_Nodes_Mapping'
from /usr/local/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
from /usr/local/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:345:in `block in revive_hash'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each_slice'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `revive_hash'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:167:in `visit_Psych_Nodes_Mapping'
from /usr/local/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
from /usr/local/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:345:in `block in revive_hash'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each_slice'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `revive_hash'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:167:in `visit_Psych_Nodes_Mapping'
from /usr/local/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
from /usr/local/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:345:in `block in revive_hash'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `each_slice'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:343:in `revive_hash'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:167:in `visit_Psych_Nodes_Mapping'
from /usr/local/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
from /usr/local/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:318:in `visit_Psych_Nodes_Document'
from /usr/local/lib/ruby/3.1.0/psych/visitors/visitor.rb:30:in `visit'
from /usr/local/lib/ruby/3.1.0/psych/visitors/visitor.rb:6:in `accept'
from /usr/local/lib/ruby/3.1.0/psych/visitors/to_ruby.rb:35:in `accept'
from /usr/local/lib/ruby/3.1.0/psych.rb:335:in `safe_load'
from /usr/local/lib/ruby/3.1.0/psych.rb:370:in `load'
from /usr/local/lib/ruby/3.1.0/psych.rb:671:in `block in load_file'
from /usr/local/lib/ruby/3.1.0/psych.rb:670:in `open'
from /usr/local/lib/ruby/3.1.0/psych.rb:670:in `load_file'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/i18n-0.9.5/lib/i18n/backend/base.rb:230:in `load_yml'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/i18n-0.9.5/lib/i18n/backend/base.rb:213:in `load_file'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/i18n-0.9.5/lib/i18n/backend/base.rb:15:in `block in load_translations'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/i18n-0.9.5/lib/i18n/backend/base.rb:15:in `each'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/i18n-0.9.5/lib/i18n/backend/base.rb:15:in `load_translations'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/i18n-0.9.5/lib/i18n/backend/simple.rb:63:in `init_translations'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/i18n-0.9.5/lib/i18n/backend/simple.rb:46:in `available_locales'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/i18n-0.9.5/lib/i18n/config.rb:43:in `available_locales'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/i18n-0.9.5/lib/i18n/config.rb:49:in `available_locales_set'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/i18n-0.9.5/lib/i18n.rb:289:in `locale_available?'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/i18n-0.9.5/lib/i18n.rb:295:in `enforce_available_locales!'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/i18n-0.9.5/lib/i18n.rb:163:in `translate'
from /root/apps/zendesk_apps_support/lib/zendesk_apps_support/i18n.rb:7:in `t'
from /root/apps/zendesk_apps_support/lib/zendesk_apps_support/manifest/no_override_hash.rb:17:in `message'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/formatters/exception_presenter.rb:52:in `formatted_cause'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/formatters/exception_presenter.rb:39:in `formatted_backtrace'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/formatters/exception_presenter.rb:70:in `colorized_formatted_backtrace'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/formatters/exception_presenter.rb:231:in `formatted_message_and_backtrace'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/formatters/exception_presenter.rb:84:in `fully_formatted_lines'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/formatters/exception_presenter.rb:76:in `fully_formatted'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/notifications.rb:200:in `fully_formatted'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/notifications.rb:114:in `block in fully_formatted_failed_examples'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/notifications.rb:113:in `each'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/notifications.rb:113:in `each_with_index'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/notifications.rb:113:in `fully_formatted_failed_examples'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/formatters/base_text_formatter.rb:33:in `dump_failures'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/reporter.rb:189:in `block in notify'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/reporter.rb:188:in `each'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/reporter.rb:188:in `notify'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/reporter.rb:160:in `block in finish'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/reporter.rb:175:in `close_after'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/reporter.rb:156:in `finish'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/reporter.rb:79:in `report'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:117:in `run_specs'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:93:in `run'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:78:in `run'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib/rspec/core/runner.rb:45:in `invoke'
from /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/exe/rspec:4:in `<main>'
/usr/local/bin/ruby -I/usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/lib:/usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-support-3.4.1/lib /usr/dependencies-cache/bundler/ruby/3.1.0/gems/rspec-core-3.4.4/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb failed
I can't even see RSpec's failure report. Same output just doing bin/rspec.
I'm not sure how to begin debugging this, but maybe a maintainer has familiarty to give me some pointers on where to start? Ultimately I'm trying to run zat using Ruby 3.1
The text was updated successfully, but these errors were encountered:
Came to this due to this error from
bin/zat
from faraday:/usr/dependencies-cache/bundler/ruby/3.1.0/gems/faraday-0.9.2/lib/faraday/options.rb:153:in `new': tried to create Proc object without a block (ArgumentError)
This gem has the dependency on faraday. I figured I could try updating, so cloned the repo, but on Ruby 3.1.0 I get a ton of failures:
# bundle exec rake
I can't even see RSpec's failure report. Same output just doing
bin/rspec
.I'm not sure how to begin debugging this, but maybe a maintainer has familiarty to give me some pointers on where to start? Ultimately I'm trying to run zat using Ruby 3.1
The text was updated successfully, but these errors were encountered: