You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Since 7.1.2 (It works with 7.1.1) if a command is declared as shell: false it will fail if given any argument.
Here is the stacktrace:
Traceback (most recent call last):
9: from /Users/pasind/.rvm/gems/ruby-2.7.4@shotgun/gems/dip-7.1.2/exe/dip:23:in `<main>'
8: from /Users/pasind/.rvm/gems/ruby-2.7.4@shotgun/gems/dip-7.1.2/lib/dip/cli.rb:31:in `start'
7: from /Users/pasind/.rvm/gems/ruby-2.7.4@shotgun/gems/thor-0.20.3/lib/thor/base.rb:466:in `start'
6: from /Users/pasind/.rvm/gems/ruby-2.7.4@shotgun/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
5: from /Users/pasind/.rvm/gems/ruby-2.7.4@shotgun/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
4: from /Users/pasind/.rvm/gems/ruby-2.7.4@shotgun/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
3: from /Users/pasind/.rvm/gems/ruby-2.7.4@shotgun/gems/dip-7.1.2/lib/dip/cli.rb:85:in `run'
2: from /Users/pasind/.rvm/gems/ruby-2.7.4@shotgun/gems/dip-7.1.2/lib/dip/commands/run.rb:30:in `execute'
1: from /Users/pasind/.rvm/gems/ruby-2.7.4@shotgun/gems/dip-7.1.2/lib/dip/commands/run.rb:59:in `compose_arguments'
/Users/pasind/.rvm/gems/ruby-2.7.4@shotgun/gems/dip-7.1.2/lib/dip/commands/run.rb:84:in `get_args': undefined local variable or method `default_args' for #<Dip::Commands::Run:0x00007f939d82d628> (NameError)
To Reproduce
Steps to reproduce the behavior:
Provide dip.yml config
compose:
files:
- ./docker-compose.ymlinteraction:
rvm:
description: Start rvm in the app containerservice: app_devcommand: rvmshell: false
Provide docker-compose.yml
Not really relevant. I can provide one if needed.
Run command dip rvm install 2.7.4
See error
Expected behavior
Should work.
Screenshots
The second dip command is using 7.1.1
Context (please complete the following information):
OS: OSX 14
Version 7.1.2
The text was updated successfully, but these errors were encountered:
zaratan
changed the title
Since 7.2.0 shell: false commands with any argument fails with "undefined local variable or method `default_args' "
Since 7.1.2 shell: false commands with any argument fails with "undefined local variable or method `default_args' "
Jul 14, 2021
Describe the bug
Since 7.1.2 (It works with 7.1.1) if a command is declared as
shell: false
it will fail if given any argument.Here is the stacktrace:
To Reproduce
Steps to reproduce the behavior:
Provide docker-compose.yml
Not really relevant. I can provide one if needed.
Run command
dip rvm install 2.7.4
See error
Expected behavior
Should work.
Screenshots
![Capture d’écran 2021-07-14 à 09 45 51](https://user-images.githubusercontent.com/3338913/125544195-8e11602e-8495-46b6-84a5-5d7b854b8407.png)
The second
dip
command is using7.1.1
Context (please complete the following information):
The text was updated successfully, but these errors were encountered: