Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run(:local) command not found when using execution_mode: :system #715

Open
reneweteling opened this issue Dec 13, 2022 · 0 comments
Open

Comments

@reneweteling
Copy link

reneweteling commented Dec 13, 2022

Hey there,

I'm trying to run some code locally but when I use the run local block it always says "not found". This only happens with the execution_mode: :system.

Command

execution_mode: :sytem

task :deploy do
  run(:local) do
    command %{pwd}
  end 
end

Result

root@6483d6840b3a:/myapp# mina -v -f config/deploy.rb preprod deploy
sh: 2: echo \$\ pwd &&
pwd: not found

Env

Mina: 1.2.4
Debian: 10 (docker)

@reneweteling reneweteling changed the title run(:local) command not found run(:local) command not found when using execution_mode: :system Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant