nickjj / docker-rails-example

A production ready example Rails app that's using Docker and Docker Compose.
MIT License
941 stars 185 forks source link

WARN: Unresolved or ambiguous specs during Gem::Specification.reset: #3

Closed PabloC closed 2 years ago

PabloC commented 3 years ago

Could anyone help us to fix this warning? No idea on how to do it.

worker_1     | WARN: Unresolved or ambiguous specs during Gem::Specification.reset:
worker_1     |       minitest (>= 5.1)
worker_1     |       Available/installed versions of this gem:
worker_1     |       - 5.14.3
worker_1     |       - 5.13.0
worker_1     |       racc (~> 1.4)
worker_1     |       Available/installed versions of this gem:
worker_1     |       - 1.5.2
worker_1     |       - 1.4.16
worker_1     |       rake (>= 0.8.7)
worker_1     |       Available/installed versions of this gem:
worker_1     |       - 13.0.3
worker_1     |       - 13.0.1
worker_1     | WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>'
worker_1     | Please report a bug if this causes problems.
nickjj commented 3 years ago

I tried a bunch of things and I'm not sure how to fix it in a way that works with Docker.

It's weird because:

In the end this isn't causing things to not run, but it would be nice to get rid of the warning.

nickjj commented 2 years ago

This ended up being resolved by https://github.com/nickjj/docker-rails-example/commit/ed7e99c52ab35e4d0143373342bafb14a8183319. Turns out not using bundle exec sidekiq caused these warnings.