I am trying to run Chatwoot with Docker Swarm using the sendingtk/chatwoot:v3.10.3 image. However, when starting the Sidekiq service, I encounter the following Ruby version mismatch error:
bundler: failed to load command: sidekiq (/gems/ruby/3.3.0/bin/sidekiq)
/usr/local/bundle/gems/bundler-2.5.17/lib/bundler/definition.rb:447:in validate_ruby!': Your Ruby version is 3.3.3, but your Gemfile specified 3.2.2 (Bundler::RubyVersionMismatch) from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/definition.rb:422:invalidate_runtime!'
from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler.rb:158:in setup' from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/setup.rb:32:inblock in <top (required)>'
from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/ui/shell.rb:159:in with_level' from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/ui/shell.rb:111:insilence'
from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/setup.rb:32:in <top (required)>' from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/cli/exec.rb:56:inrequire_relative'
from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/cli/exec.rb:56:in kernel_load' from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/cli/exec.rb:23:inrun'
from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/cli.rb:455:in exec' from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/vendor/thor/lib/thor/command.rb:28:inrun'
from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in invoke_command' from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/vendor/thor/lib/thor.rb:527:indispatch'
from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/cli.rb:35:in dispatch' from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/vendor/thor/lib/thor/base.rb:584:instart'
from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/cli.rb:29:in start' from /usr/local/bundle/gems/bundler-2.5.17/exe/bundle:28:inblock in <top (required)>'
from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/friendly_errors.rb:117:in with_friendly_errors' from /usr/local/bundle/gems/bundler-2.5.17/exe/bundle:20:in<top (required)>'
from /usr/local/bundle/bin/bundle:25:in load' from /usr/local/bundle/bin/bundle:25:in'
Describe the bug
I am trying to run Chatwoot with Docker Swarm using the sendingtk/chatwoot:v3.10.3 image. However, when starting the Sidekiq service, I encounter the following Ruby version mismatch error: bundler: failed to load command: sidekiq (/gems/ruby/3.3.0/bin/sidekiq) /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/definition.rb:447:in'
validate_ruby!': Your Ruby version is 3.3.3, but your Gemfile specified 3.2.2 (Bundler::RubyVersionMismatch) from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/definition.rb:422:in
validate_runtime!' from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler.rb:158:insetup' from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/setup.rb:32:in
block in <top (required)>' from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/ui/shell.rb:159:inwith_level' from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/ui/shell.rb:111:in
silence' from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/setup.rb:32:in<top (required)>' from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/cli/exec.rb:56:in
require_relative' from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/cli/exec.rb:56:inkernel_load' from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/cli/exec.rb:23:in
run' from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/cli.rb:455:inexec' from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/vendor/thor/lib/thor/command.rb:28:in
run' from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:ininvoke_command' from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/vendor/thor/lib/thor.rb:527:in
dispatch' from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/cli.rb:35:indispatch' from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/vendor/thor/lib/thor/base.rb:584:in
start' from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/cli.rb:29:instart' from /usr/local/bundle/gems/bundler-2.5.17/exe/bundle:28:in
block in <top (required)>' from /usr/local/bundle/gems/bundler-2.5.17/lib/bundler/friendly_errors.rb:117:inwith_friendly_errors' from /usr/local/bundle/gems/bundler-2.5.17/exe/bundle:20:in
<top (required)>' from /usr/local/bundle/bin/bundle:25:inload' from /usr/local/bundle/bin/bundle:25:in
To Reproduce
rum file docker compoe on docker swarn
Expected behavior
No response
Environment
Docker
Cloud Provider
AWS
Platform
Browser
Operating system
No response
Browser and version
No response
Docker (if applicable)
services: chatwoot: image: sendingtk/chatwoot:v3.10.3 command: bundle exec rails s -p 3000 -b 0.0.0.0 entrypoint: docker/entrypoints/rails.sh volumes:
Servidor de Email Gmail
LOG_SIZE=1024 deploy: mode: replicated replicas: 1 placement: constraints:
chatwoot..com
)chatwoot_sidekiq: image: sendingtk/chatwoot command: bundle exec sidekiq -C config/sidekiq.yml volumes:
Servidor de Email Gmail
volumes: chatwoot_data: external: true name: chatwoot_data chatwoot_public: external: true name: chatwoot_public
networks: minha_rede: external: true name: minha_rede
Additional context
No response