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 Command throwing errors #31

Closed
mattpickle opened this issue Jul 7, 2016 · 1 comment
Closed

Run Command throwing errors #31

mattpickle opened this issue Jul 7, 2016 · 1 comment

Comments

@mattpickle
Copy link

Not sure what I'm missing, but any command I pass into the run method throws an error.

@compose = Docker::Compose.new
@compose.up(detached:true)

no such file or directory (Docker::Compose::Error)

@compose.run('web', "bin/sh -c echo -n \"Test\"'", detached:true)

executable file not found in $PATH

@compose.run('web', "rake db:schema:load'", detached:true)
@xeger
Copy link
Owner

xeger commented Jul 8, 2016

Sounds like docker-compose might not've been in your path. I could do with a better error message, I suppose.

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

2 participants