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
staytus@ip-172-31-105-166:~/staytus$ sudo -u staytus bundle exec rake staytus:install /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:29: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:118: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:118: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:29: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:118: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:118: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:35: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:35: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:44: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:118: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:35: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:44: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:35: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. => You haven't configured an SMTP server. Mail will be sent using sendmail. rake aborted! NoMethodError: undefined method arity' for {:polymorphic=>true, :optional=>true}:Hash
/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activerecord-5.2.6/lib/active_record/associations/builder/association.rb:51:in build_scope' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activerecord-5.2.6/lib/active_record/associations/builder/association.rb:43:in create_reflection'
/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activerecord-5.2.6/lib/active_record/associations/builder/association.rb:31:in build' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activerecord-5.2.6/lib/active_record/associations.rb:1654:in belongs_to'
/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/authie-3.1.5/lib/authie/session.rb:20:in <class:Session>' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/authie-3.1.5/lib/authie/session.rb:2:in module:Authie'
/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/authie-3.1.5/lib/authie/session.rb:1:in <top (required)>' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in require'
/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in block in require' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:257:in load_dependency'
/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in require' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/authie-3.1.5/lib/authie/engine.rb:8:in block (2 levels) in class:Engine'
/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/lazy_load_hooks.rb:71:in instance_eval' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/lazy_load_hooks.rb:71:in block in execute_hook'
/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/lazy_load_hooks.rb:62:in with_execution_control' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/lazy_load_hooks.rb:67:in execute_hook'
/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/lazy_load_hooks.rb:43:in block in on_load' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/lazy_load_hooks.rb:42:in each'
/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/lazy_load_hooks.rb:42:in on_load' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/authie-3.1.5/lib/authie/engine.rb:7:in block in class:Engine'
/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/railties-5.2.6/lib/rails/initializable.rb:32:in instance_exec' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/railties-5.2.6/lib/rails/initializable.rb:32:in run'
/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/railties-5.2.6/lib/rails/initializable.rb:61:in block in run_initializers' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/railties-5.2.6/lib/rails/initializable.rb:60:in run_initializers'
/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/railties-5.2.6/lib/rails/application.rb:361:in initialize!' /opt/staytus/staytus/config/environment.rb:5:in <top (required)>'
/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in require' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in block in require'
/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:257:in load_dependency' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in require'
/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/railties-5.2.6/lib/rails/application.rb:337:in require_environment!' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/railties-5.2.6/lib/rails/application.rb:520:in block in run_tasks_blocks'
/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in <top (required)>' Tasks: TOP => staytus:install => environment (See full trace by running task with --trace)
The text was updated successfully, but these errors were encountered:
How to solve this error?
staytus@ip-172-31-105-166:~/staytus$ sudo -u staytus bundle exec rake staytus:install /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:29: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:118: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:118: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:29: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:118: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:118: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:35: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:35: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:44: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:118: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:35: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:44: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/bundler-1.17.2/lib/bundler/shared_helpers.rb:35: warning: Pathname#untaint is deprecated and will be removed in Ruby 3.2. => You haven't configured an SMTP server. Mail will be sent using sendmail. rake aborted! NoMethodError: undefined method
arity' for {:polymorphic=>true, :optional=>true}:Hash/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activerecord-5.2.6/lib/active_record/associations/builder/association.rb:51:in
build_scope' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activerecord-5.2.6/lib/active_record/associations/builder/association.rb:43:in
create_reflection'/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activerecord-5.2.6/lib/active_record/associations/builder/association.rb:31:in
build' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activerecord-5.2.6/lib/active_record/associations.rb:1654:in
belongs_to'/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/authie-3.1.5/lib/authie/session.rb:20:in
<class:Session>' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/authie-3.1.5/lib/authie/session.rb:2:in
module:Authie'/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/authie-3.1.5/lib/authie/session.rb:1:in
<top (required)>' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in
require'/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in
block in require' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:257:in
load_dependency'/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in
require' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/authie-3.1.5/lib/authie/engine.rb:8:in
block (2 levels) in class:Engine'/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/lazy_load_hooks.rb:71:in
instance_eval' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/lazy_load_hooks.rb:71:in
block in execute_hook'/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/lazy_load_hooks.rb:62:in
with_execution_control' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/lazy_load_hooks.rb:67:in
execute_hook'/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/lazy_load_hooks.rb:43:in
block in on_load' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/lazy_load_hooks.rb:42:in
each'/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/lazy_load_hooks.rb:42:in
on_load' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/authie-3.1.5/lib/authie/engine.rb:7:in
block in class:Engine'/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/railties-5.2.6/lib/rails/initializable.rb:32:in
instance_exec' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/railties-5.2.6/lib/rails/initializable.rb:32:in
run'/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/railties-5.2.6/lib/rails/initializable.rb:61:in
block in run_initializers' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/railties-5.2.6/lib/rails/initializable.rb:60:in
run_initializers'/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/railties-5.2.6/lib/rails/application.rb:361:in
initialize!' /opt/staytus/staytus/config/environment.rb:5:in
<top (required)>'/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in
require' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in
block in require'/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:257:in
load_dependency' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/activesupport-5.2.6/lib/active_support/dependencies.rb:291:in
require'/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/railties-5.2.6/lib/rails/application.rb:337:in
require_environment!' /opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/railties-5.2.6/lib/rails/application.rb:520:in
block in run_tasks_blocks'/opt/staytus/staytus/vendor/bundle/ruby/3.0.0/gems/rake-13.0.6/exe/rake:27:in
<top (required)>' Tasks: TOP => staytus:install => environment (See full trace by running task with --trace)
The text was updated successfully, but these errors were encountered: