leap_cli: undefined method `sub' for nil:NilClass (NoMethodError)
When trying to deploy to the singlenode setup, I get the following traceback:
micah@muck:~/leap/bitmask$ leap -v2 deploy --port 22 single = read /home/micah/leap/bitmask/Leapfile = read /home/micah/.leaprc = leap command v1.6.1 = leap platform v0.6 (feature/4425 c150fa3eb79d822850205c0178de9bb5f422ae01) = ran git submodule sync 2>&1 = ran git submodule status 2>&1 /var/lib/gems/2.1.0/gems/leap_cli-1.6.1/lib/leap_cli/config/filter.rb:32:in `block in initialize': undefined method `sub' for nil:NilClass (NoMethodError) from /var/lib/gems/2.1.0/gems/leap_cli-1.6.1/lib/leap_cli/config/filter.rb:31:in `select!' from /var/lib/gems/2.1.0/gems/leap_cli-1.6.1/lib/leap_cli/config/filter.rb:31:in `initialize' from /var/lib/gems/2.1.0/gems/leap_cli-1.6.1/lib/leap_cli/config/manager.rb:244:in `new' from /var/lib/gems/2.1.0/gems/leap_cli-1.6.1/lib/leap_cli/config/manager.rb:244:in `filter' from /var/lib/gems/2.1.0/gems/leap_cli-1.6.1/lib/leap_cli/commands/deploy.rb:56:in `block (2 levels) in ' from /var/lib/gems/2.1.0/gems/gli-2.5.6/lib/gli/command_support.rb:130:in `call' from /var/lib/gems/2.1.0/gems/gli-2.5.6/lib/gli/command_support.rb:130:in `execute' from /var/lib/gems/2.1.0/gems/gli-2.5.6/lib/gli/app_support.rb:262:in `block in call_command' from /var/lib/gems/2.1.0/gems/gli-2.5.6/lib/gli/app_support.rb:275:in `call' from /var/lib/gems/2.1.0/gems/gli-2.5.6/lib/gli/app_support.rb:275:in `call_command' from /var/lib/gems/2.1.0/gems/gli-2.5.6/lib/gli/app_support.rb:69:in `run' from /var/lib/gems/2.1.0/gems/leap_cli-1.6.1/bin/leap:89:in `' from /var/lib/gems/2.1.0/gems/leap_cli-1.6.1/bin/leap:38:in `' from /usr/local/bin/leap:23:in `load' from /usr/local/bin/leap:23:in `' micah@muck:~/leap/bitmask$
You can replicate this by checking out the 'singlenode' branch in bitmask
(from redmine: created on 2014-11-04, closed on 2014-11-04, blocks #6135 (closed))