Logger.yml isn't being generated, not certain of format

I noticed the following when running the initial setup for running in docker, and I’m struggling with successful initiation following the docker instructions:

rake aborted!
Errno::ENOENT: No such file or directory @ rb_sysopen - /ares/aresmush/game/config/database.yml

I manually created the config directory, and then re-ran bundle exec rake configure $*bundle, and I was able to generate the expected yml files.

However, I received the following on bundle exec rake init. I think I’m missing logger configuration that wasn’t generated.

ares@e789cde0443d:/ares/aresmush$ bundle exec rake init --trace
** Invoke init (first_time)
** Execute init
rake aborted!
NoMethodError: undefined method `[]' for nil:NilClass

      decode_pre_config( cfg['pre_config'])
                            ^^^^^^^^^^^^^^
/home/ares/.rvm/gems/ruby-3.1.2/gems/log4r-1.1.10/lib/log4r/yamlconfigurator.rb:67:in `decode_yaml'
/ares/aresmush/engine/aresmush/logger.rb:11:in `start'
/ares/aresmush/rakefile.rb:16:in `minimal_boot'
/ares/aresmush/rakefile.rb:72:in `block in <top (required)>'
/home/ares/.rvm/gems/ruby-3.1.2/gems/rake-12.3.3/lib/rake/task.rb:273:in `block in execute'
/home/ares/.rvm/gems/ruby-3.1.2/gems/rake-12.3.3/lib/rake/task.rb:273:in `each'
/home/ares/.rvm/gems/ruby-3.1.2/gems/rake-12.3.3/lib/rake/task.rb:273:in `execute'
/home/ares/.rvm/gems/ruby-3.1.2/gems/rake-12.3.3/lib/rake/task.rb:214:in `block in invoke_with_call_chain'       
/home/ares/.rvm/gems/ruby-3.1.2/gems/rake-12.3.3/lib/rake/task.rb:194:in `synchronize'
/home/ares/.rvm/gems/ruby-3.1.2/gems/rake-12.3.3/lib/rake/task.rb:194:in `invoke_with_call_chain'
/home/ares/.rvm/gems/ruby-3.1.2/gems/rake-12.3.3/lib/rake/task.rb:183:in `invoke'
/home/ares/.rvm/gems/ruby-3.1.2/gems/rake-12.3.3/lib/rake/application.rb:160:in `invoke_task'
/home/ares/.rvm/gems/ruby-3.1.2/gems/rake-12.3.3/lib/rake/application.rb:116:in `block (2 levels) in top_level'  
/home/ares/.rvm/gems/ruby-3.1.2/gems/rake-12.3.3/lib/rake/application.rb:116:in `each'
/home/ares/.rvm/gems/ruby-3.1.2/gems/rake-12.3.3/lib/rake/application.rb:116:in `block in top_level'
/home/ares/.rvm/gems/ruby-3.1.2/gems/rake-12.3.3/lib/rake/application.rb:125:in `run_with_threads'
/home/ares/.rvm/gems/ruby-3.1.2/gems/rake-12.3.3/lib/rake/application.rb:110:in `top_level'
/home/ares/.rvm/gems/ruby-3.1.2/gems/rake-12.3.3/lib/rake/application.rb:83:in `block in run'
/home/ares/.rvm/gems/ruby-3.1.2/gems/rake-12.3.3/lib/rake/application.rb:186:in `standard_exception_handling'    
/home/ares/.rvm/gems/ruby-3.1.2/gems/rake-12.3.3/lib/rake/application.rb:80:in `run'
/home/ares/.rvm/gems/ruby-3.1.2/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
/home/ares/.rvm/gems/ruby-3.1.2/bin/rake:25:in `load'
/home/ares/.rvm/gems/ruby-3.1.2/bin/rake:25:in `<main>'
/home/ares/.rvm/gems/ruby-3.1.2/bin/ruby_executable_hooks:22:in `eval'
/home/ares/.rvm/gems/ruby-3.1.2/bin/ruby_executable_hooks:22:in `<main>'
Tasks: TOP => init```

Trace points to:

9 config = Global.read_config(“logger”)
10 configurator = Log4r::YamlConfigurator
11 configurator.decode_yaml config

When you say you “manually created the config directory” - that indicates to me that something went awry with your install. Be sure you followed all of the steps, especially #4:

  1. Copy the aresmush/install/game.distr directory to create a new folder aresmush/game.

That should have created a game directory including logger.yml (but also all the other default game config).

That was exactly the problem and it became obvious after going through the 1-click version and comparing files. Thanks for the reply.