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

Error executing command docker-compose run web bundle exec rake db:setup #743

Closed
lewismc opened this issue Jan 7, 2019 · 3 comments
Closed

Comments

@lewismc
Copy link
Member

lewismc commented Jan 7, 2019

Environment

macOS High Sierra v10.13.6
Docker for Mac v2.0.0.0-mac81 (29211)

Issue

The Docker build eventually fails for above environment as follows

./bin/setup
...
== Preparing database (development and test environments) ==
    $ docker-compose run web bundle exec rake db:setup
Starting earthdata-search_db_1 ... done
Could not locate Gemfile or .bundle/ directory
Exiting: Error executing command docker-compose run web bundle exec rake db:setup

I've been picking the docker-compose build apart and haven't yet found any solution.

@lewismc
Copy link
Member Author

lewismc commented Jan 9, 2019

Is anyone else able to replicate this? This is blocking me building the actual deployment at the moment.

@macrouch
Copy link
Contributor

macrouch commented Jan 9, 2019

We never ran into this problem, the 2 commands in the readme were all we had to do to get running.

I assumed it was related to your other issue with file sharing on OS X. Have you tried moving your project to your user directory?

@lewismc
Copy link
Member Author

lewismc commented Jan 10, 2019

@lewismc lewismc closed this as completed Jan 10, 2019
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