[openstreetmap/openstreetmap-website] Docker builds failing without mini_portile2 (Issue #3662)

mmd notifications at github.com
Thu Aug 25 18:35:06 UTC 2022


Adding `bundle exec` to the migration step fixes the issue here.

```
docker-compose run --rm web bundle exec rake db:migrate
```

Before:

```
docker-compose run --rm web rake db:migrate
Starting openstreetmap-website_db_1 ... done
Could not find mini_portile2-2.8.0 in any of the sources
Run `bundle install` to install missing gems.
```

After:

```
docker-compose run --rm web bundle exec rake db:migrate
Starting openstreetmap-website_db_1 ... done
/usr/lib/ruby/2.7.0/net/protocol.rb:66: warning: already initialized constant Net::ProtocRetryError
/var/lib/gems/2.7.0/gems/net-protocol-0.1.3/lib/net/protocol.rb:68: warning: previous definition of ProtocRetryError was here
/usr/lib/ruby/2.7.0/net/protocol.rb:206: warning: already initialized constant Net::BufferedIO::BUFSIZE
/var/lib/gems/2.7.0/gems/net-protocol-0.1.3/lib/net/protocol.rb:208: warning: previous definition of BUFSIZE was here
/usr/lib/ruby/2.7.0/net/protocol.rb:503: warning: already initialized constant Net::NetPrivate::Socket
/var/lib/gems/2.7.0/gems/net-protocol-0.1.3/lib/net/protocol.rb:504: warning: previous definition of Socket was here
/var/lib/gems/2.7.0/gems/dry-schema-1.10.2/lib/dry/schema/types_merger.rb:71: warning: Pattern matching is experimental, and the behavior may change in future versions of Ruby!
pngcrush worker: `pngcrush` not found; please provide proper binary or disable this worker (--no-pngcrush argument or `:pngcrush => false` through
...
```

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3662#issuecomment-1227626066
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/3662/1227626066 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220825/f9dbeb53/attachment.htm>


More information about the rails-dev mailing list