-
Notifications
You must be signed in to change notification settings - Fork 22.2k
ArgumentError: `auth_tag': wrong number of arguments (given 1, expected 0) #49737
Copy link
Copy link
Closed as not planned
Closed as not planned
Copy link
Labels
Description
Steps to reproduce
step 1: docker run -it jruby:9.4 bash
step 2: gem install rails
step 3: rails new jrails -BT -j esbuild -d jdbcpostgresql
Expected behavior
should create a new rails application without bundle and test and with esbuild and jdbcpostgresql driver
Actual behavior
Getting an Error
create
create README.md
create Rakefile
sh: 1: node: not found
create .node-version
create .ruby-version
create config.ru
create .gitignore
create .gitattributes
create Gemfile
sh: 1: git: not found
sh: 1: git: not found
nil versions are discouraged and will be deprecated in Rubygems 4
run git init && git symbolic-ref HEAD refs/heads/main from "."
sh: 1: git: not found
create app
create app/assets/config/manifest.js
create app/assets/stylesheets/application.css
create app/channels/application_cable/channel.rb
create app/channels/application_cable/connection.rb
create app/controllers/application_controller.rb
create app/helpers/application_helper.rb
create app/jobs/application_job.rb
create app/mailers/application_mailer.rb
create app/models/application_record.rb
create app/views/layouts/application.html.erb
create app/views/layouts/mailer.html.erb
create app/views/layouts/mailer.text.erb
create app/assets/images
create app/assets/images/.keep
create app/controllers/concerns/.keep
create app/models/concerns/.keep
create bin
create bin/rails
create bin/rake
create bin/setup
sh: 1: node: not found
sh: 1: yarn: not found
create Dockerfile
create .dockerignore
create bin/docker-entrypoint
create config
create config/routes.rb
create config/application.rb
create config/environment.rb
create config/cable.yml
create config/puma.rb
create config/storage.yml
create config/environments
create config/environments/development.rb
create config/environments/production.rb
create config/environments/test.rb
create config/initializers
create config/initializers/assets.rb
create config/initializers/content_security_policy.rb
create config/initializers/cors.rb
create config/initializers/filter_parameter_logging.rb
create config/initializers/inflections.rb
create config/initializers/new_framework_defaults_7_1.rb
create config/initializers/permissions_policy.rb
create config/locales
create config/locales/en.yml
/usr/local/bundle/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb:13: warning: method redefined; discarding old to_int
/usr/local/bundle/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb:13: warning: method redefined; discarding old to_f
create config/master.key
append .gitignore
ArgumentError: `auth_tag': wrong number of arguments (given 1, expected 0)
encrypt at /usr/local/bundle/gems/activesupport-7.1.1/lib/active_support/message_encryptor.rb:290
create_message at /usr/local/bundle/gems/activesupport-7.1.1/lib/active_support/message_encryptor.rb:257
encrypt_and_sign at /usr/local/bundle/gems/activesupport-7.1.1/lib/active_support/message_encryptor.rb:221
encrypt at /usr/local/bundle/gems/activesupport-7.1.1/lib/active_support/encrypted_file.rb:105
write at /usr/local/bundle/gems/activesupport-7.1.1/lib/active_support/encrypted_file.rb:79
writing at /usr/local/bundle/gems/activesupport-7.1.1/lib/active_support/encrypted_file.rb:98
create at /opt/jruby/lib/ruby/stdlib/tempfile.rb:137
writing at /usr/local/bundle/gems/activesupport-7.1.1/lib/active_support/encrypted_file.rb:90
change at /usr/local/bundle/gems/activesupport-7.1.1/lib/active_support/encrypted_file.rb:84
render_template_to_encrypted_file at /usr/local/bundle/gems/railties-7.1.1/lib/rails/generators/rails/credentials/credentials_generator.rb:51
add_credentials_file at /usr/local/bundle/gems/railties-7.1.1/lib/rails/generators/rails/credentials/credentials_generator.rb:21
in_root at /usr/local/bundle/gems/thor-1.3.0/lib/thor/actions.rb:201
inside at /usr/local/bundle/gems/thor-1.3.0/lib/thor/actions.rb:190
chdir at org/jruby/RubyDir.java:456
cd at /opt/jruby/lib/ruby/stdlib/fileutils.rb:139
inside at /usr/local/bundle/gems/thor-1.3.0/lib/thor/actions.rb:190
in_root at /usr/local/bundle/gems/thor-1.3.0/lib/thor/actions.rb:201
add_credentials_file at /usr/local/bundle/gems/railties-7.1.1/lib/rails/generators/rails/credentials/credentials_generator.rb:15
credentials at /usr/local/bundle/gems/railties-7.1.1/lib/rails/generators/rails/app/app_generator.rb:194
public_send at org/jruby/RubyKernel.java:2126
build at /usr/local/bundle/gems/railties-7.1.1/lib/rails/generators/app_base.rb:150
create_credentials at /usr/local/bundle/gems/railties-7.1.1/lib/rails/generators/rails/app/app_generator.rb:392
run at /usr/local/bundle/gems/thor-1.3.0/lib/thor/command.rb:28
invoke_command at /usr/local/bundle/gems/thor-1.3.0/lib/thor/invocation.rb:127
invoke_all at /usr/local/bundle/gems/thor-1.3.0/lib/thor/invocation.rb:134
each at org/jruby/RubyHash.java:1601
map at org/jruby/RubyEnumerable.java:835
invoke_all at /usr/local/bundle/gems/thor-1.3.0/lib/thor/invocation.rb:134
dispatch at /usr/local/bundle/gems/thor-1.3.0/lib/thor/group.rb:232
start at /usr/local/bundle/gems/thor-1.3.0/lib/thor/base.rb:584
perform at /usr/local/bundle/gems/railties-7.1.1/lib/rails/commands/application/application_command.rb:28
run at /usr/local/bundle/gems/thor-1.3.0/lib/thor/command.rb:28
invoke_command at /usr/local/bundle/gems/thor-1.3.0/lib/thor/invocation.rb:127
invoke_command at /usr/local/bundle/gems/railties-7.1.1/lib/rails/command/base.rb:178
dispatch at /usr/local/bundle/gems/thor-1.3.0/lib/thor.rb:527
perform at /usr/local/bundle/gems/railties-7.1.1/lib/rails/command/base.rb:73
invoke at /usr/local/bundle/gems/railties-7.1.1/lib/rails/command.rb:71
with_argv at /usr/local/bundle/gems/railties-7.1.1/lib/rails/command.rb:149
invoke at /usr/local/bundle/gems/railties-7.1.1/lib/rails/command.rb:69
<main> at /usr/local/bundle/gems/railties-7.1.1/lib/rails/cli.rb:21
require at org/jruby/RubyKernel.java:1071
require at /opt/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:85
<main> at /usr/local/bundle/gems/railties-7.1.1/exe/rails:10
load at org/jruby/RubyKernel.java:1107
<main> at /usr/local/bundle/bin/rails:25
System configuration
Rails version: 7.1.1
Ruby version: jruby 9.4.4.0 (3.1.4) 2023-10-18 9c9bfd3dc7 OpenJDK 64-Bit Server VM 25.382-b05 on 1.8.0_382-b05 +jit [aarch64-linux]
Reactions are currently unavailable