[openstreetmap/openstreetmap-website] docker-compose up fails to start the rails app (#3307)

mjourdan notifications at github.com
Tue Aug 31 18:49:42 UTC 2021


I did again everything using docker-compose and docker rather than podman-compose and podman. Same thing happening.

The Rakefile could not be found, as if the repository was not mounted, or files inside it could not be read. Even explicitly mounting things by hand would not help:

```
 $ docker run -w /app -v "$(pwd):/app" --rm openstreetmap-website_web bundle exec rake yarn:install --trace
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb, Rakefile.rb)
/var/lib/gems/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:705:in `raw_load_rakefile'
/var/lib/gems/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:104:in `block in load_rakefile'
/var/lib/gems/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:186:in `standard_exception_handling'
/var/lib/gems/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:103:in `load_rakefile'
/var/lib/gems/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:82:in `block in run'
/var/lib/gems/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:186:in `standard_exception_handling'
/var/lib/gems/2.7.0/gems/rake-13.0.6/lib/rake/application.rb:80:in `run'
/var/lib/gems/2.7.0/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
/usr/local/bin/rake:23:in `load'
/usr/local/bin/rake:23:in `<main>'
```

So I figured that disabling selinux would help, and it did. Classic.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3307#issuecomment-909508702
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20210831/fcfc50b9/attachment.htm>


More information about the rails-dev mailing list