postrank-labs/goliath

Server does not start with latest version of log4r

matuag opened this issue · 2 comments

After updating the log4r to version 1.1.11 Goliath server does not start.

I have downgraded log4r to version 1.1.10 and the server works fine.

$ ruby server.rb -sv
/xxxx/.rvm/gems/ruby-1.9.3-p448/gems/goliath-1.0.3/lib/goliath/runner.rb:248:in `initialize': wrong number of arguments(1 for 0) (ArgumentError)
    from /xxxx/.rvm/gems/ruby-1.9.3-p448/gems/goliath-1.0.3/lib/goliath/runner.rb:248:in `new'
    from /xxxx/.rvm/gems/ruby-1.9.3-p448/gems/goliath-1.0.3/lib/goliath/runner.rb:248:in `setup_logger'
    from /xxxx/.rvm/gems/ruby-1.9.3-p448/gems/goliath-1.0.3/lib/goliath/runner.rb:298:in `run_server'
    from /xxxx/.rvm/gems/ruby-1.9.3-p448/gems/goliath-1.0.3/lib/goliath/runner.rb:224:in `run'
    from /xxxx/.rvm/gems/ruby-1.9.3-p448/gems/goliath-1.0.3/lib/goliath/application.rb:111:in `run!'
    from /xxxx/.rvm/gems/ruby-1.9.3-p448/gems/goliath-1.0.3/lib/goliath/application.rb:133:in `block in <module:Goliath>'

@matuag This is not really an issue with Goliath, but with Log4r. See this issue colbygk/log4r#24 for reference. As of this writing, Log4r version 1.1.11 has been yanked from Rubygems, and is only available from source.

@kornypoet Thanks. I will close this ticket.