codemancers / invoker

An awesome utility to manage all your processes in development environment
http://invoker.c9s.dev/
MIT License
460 stars 59 forks source link

Exception with dotenv 2.3 #218

Closed wkrsz closed 6 years ago

wkrsz commented 6 years ago
$ invoker start
/Users/wojtek/.rvm/gems/ruby-2.3.5/gems/dotenv-2.4.0/lib/dotenv/environment.rb:7:in `initialize': wrong number of arguments (given 1, expected 2) (ArgumentError)
    from /Users/wojtek/.rvm/gems/ruby-2.3.5/gems/invoker-1.5.6/lib/invoker/process_manager.rb:101:in `new'
    from /Users/wojtek/.rvm/gems/ruby-2.3.5/gems/invoker-1.5.6/lib/invoker/process_manager.rb:101:in `load_env'
    from /Users/wojtek/.rvm/gems/ruby-2.3.5/gems/invoker-1.5.6/lib/invoker/process_manager.rb:189:in `run_command'
    from /Users/wojtek/.rvm/gems/ruby-2.3.5/gems/invoker-1.5.6/lib/invoker/process_manager.rb:19:in `start_process'
    from /Users/wojtek/.rvm/gems/ruby-2.3.5/gems/invoker-1.5.6/lib/invoker/commander.rb:41:in `block in start_manager'
    from /Users/wojtek/.rvm/gems/ruby-2.3.5/gems/invoker-1.5.6/lib/invoker/commander.rb:40:in `each'
    from /Users/wojtek/.rvm/gems/ruby-2.3.5/gems/invoker-1.5.6/lib/invoker/commander.rb:40:in `start_manager'
    from /Users/wojtek/.rvm/gems/ruby-2.3.5/gems/invoker-1.5.6/lib/invoker/cli.rb:62:in `start'
    from /Users/wojtek/.rvm/gems/ruby-2.3.5/gems/thor-0.20.0/lib/thor/command.rb:27:in `run'
    from /Users/wojtek/.rvm/gems/ruby-2.3.5/gems/thor-0.20.0/lib/thor/invocation.rb:126:in `invoke_command'
    from /Users/wojtek/.rvm/gems/ruby-2.3.5/gems/thor-0.20.0/lib/thor.rb:387:in `dispatch'
    from /Users/wojtek/.rvm/gems/ruby-2.3.5/gems/thor-0.20.0/lib/thor/base.rb:466:in `start'
    from /Users/wojtek/.rvm/gems/ruby-2.3.5/gems/invoker-1.5.6/lib/invoker/cli.rb:12:in `start'
    from /Users/wojtek/.rvm/gems/ruby-2.3.5/gems/invoker-1.5.6/bin/invoker:7:in `<top (required)>'
    from /Users/wojtek/.rvm/gems/ruby-2.3.5/bin/invoker:23:in `load'
    from /Users/wojtek/.rvm/gems/ruby-2.3.5/bin/invoker:23:in `<main>'

Related in PR in dotenv: https://github.com/bkeepers/dotenv/pull/345

wkrsz commented 6 years ago

Whops, duplicate of https://github.com/code-mancers/invoker/pull/217 – sorry