# Ruby Gems Web Push לא נמצא

**URL:** <https://meta.discourse.org/t/ruby-gems-web-push-not-found/250058>\
**Category:** Self-hosting\
**Created:** [28 בדצמבר,‏ 2022,‏ 9:42pm UTC](https://meta.discourse.org/t/ruby-gems-web-push-not-found/250058 "2022-12-28T21:42:47Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![yoursql719](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yoursql719/32/120350_2.png) [@yoursql719](https://meta.discourse.org/u/yoursql719)\
**Post date:** [28 בדצמבר,‏ 2022,‏ 9:42pm UTC](https://meta.discourse.org/t/ruby-gems-web-push-not-found/250058/1 "2022-12-28T21:42:47Z")

</div>

Hi,

I´ve updated discourse to the latest version and now it won´t startup:

```plaintext
I, [2022-12-28T21:37:38.558813 #1] INFO -- : > cd /var/www/discourse && su discourse -c 'bundle install --deployment --retry 3 --jobs 4 --verbose --without test development'
[DEPRECATED] The `--deployment` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local deployment 'true'`, and stop using this flag
[DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set --local without 'test development'`, and stop using this flag
Bundler::PathError: The path `/var/www/discourse/vendor/bundle/ruby/3.1.0/bundler/gems/web-push-369df8f475a4` does not exist.
/usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/source/path.rb:209:in `load_spec_files'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/source/git.rb:211:in `load_spec_files'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/source/path.rb:107:in `local_specs'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/source/git.rb:178:in `specs'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/lazy_specification.rb:82:in `materialize_for_installation'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/spec_set.rb:194:in `block in specs_for_dependency'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/spec_set.rb:194:in `map'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/spec_set.rb:194:in `specs_for_dependency'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/spec_set.rb:33:in `block in for'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/spec_set.rb:22:in `loop'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/spec_set.rb:22:in `for'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/spec_set.rb:79:in `materialize'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/definition.rb:209:in `missing_specs'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/definition.rb:213:in `missing_specs?'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/installer.rb:263:in `resolve_if_needed'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/installer.rb:82:in `block in run'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/process_lock.rb:12:in `block in lock'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/process_lock.rb:9:in `open'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/process_lock.rb:9:in `lock'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/installer.rb:71:in `run'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/installer.rb:23:in `install'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/cli/install.rb:62:in `run'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/cli.rb:257:in `block in install'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/settings.rb:131:in `temporary'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/cli.rb:256:in `install'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/vendor/thor/lib/thor/invocation.rb:127:in `invoke_command'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/vendor/thor/lib/thor.rb:392:in `dispatch'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/cli.rb:31:in `dispatch'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/vendor/thor/lib/thor/base.rb:485:in `start'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/cli.rb:25:in `start'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/exe/bundle:48:in `block in <top (required)>'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/lib/bundler/friendly_errors.rb:120:in `with_friendly_errors'
  /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.3.22/exe/bundle:36:in `<top (required)>'
  /usr/local/bin/bundle:25:in `load'
  /usr/local/bin/bundle:25:in `<main>'
I, [2022-12-28T21:38:17.995113 #1] INFO -- : Running `bundle install --deployment --jobs 4 --retry 3 --verbose --without "test" "development"` with bundler 2.3.22
Frozen, using resolution from the lockfile
The definition is missing dependencies, failed to resolve & materialize locally (https://github.com/xfalcox/web-push (at openssl-3-compat@369df8f) is not yet checked out. Run `bundle install` first.)
....

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake db:migrate' failed with return #<Process::Status: pid 1098 exit 1>
Location of failure: /usr/local/lib/ruby/gems/3.1.0/gems/pups-1.1.1/lib/pups/exec_command.rb:117:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"db_migrate", "cmd"=>["su discourse -c 'bundle exec rake db:migrate'"]}
bootstrap failed with exit code 1
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one.
./discourse-doctor may help diagnose the problem.

```

Has anyone a hint for me? I haven´t changed any configuration for a while. I am using Debian 11.6 with docker version 20.10.22.

This is my app.yml:

```plaintext
templates:
  - "templates/postgres.template.yml"
  - "templates/redis.template.yml"
  - "templates/web.template.yml"
  - "templates/web.ratelimited.template.yml"
  - "templates/web.socketed.template.yml"
# - "templates/sshd.template.yml"
## Uncomment these two lines if you wish to add Lets Encrypt (https)
  #- "templates/web.ssl.template.yml"
  #- "templates/web.letsencrypt.ssl.template.yml"

## which TCP/IP ports should this container expose?
## If you want Discourse to share a port with another webserver like Apache or nginx,
## see https://meta.discourse.org/t/17247 for details
expose:
# - "80:80" # http
# - "443:443" # https
   - "4001:22"

params:
  db_default_text_search_config: "pg_catalog.english"

  ## Set db_shared_buffers to a max of 25% of the total memory.
  ## will be set automatically by bootstrap based on detected RAM, or you can override
  db_shared_buffers: "4096MB"

  ## can improve sorting performance, but adds memory usage per-connection
  #db_work_mem: "40MB"

  ## Which Git revision should this container use? (default: tests-passed)
  #version: tests-passed

env:
  LANG: en_US.UTF-8
  DISCOURSE_DEFAULT_LOCALE: de

  ## How many concurrent web requests are supported? Depends on memory and CPU cores.
  ## will be set automatically by bootstrap based on detected CPUs, or you can override
  UNICORN_WORKERS: 8
## The Docker container is stateless; all data is stored in /shared
volumes:
  - volume:
      host: /var/discourse/shared/standalone
      guest: /shared
  - volume:
      host: /var/discourse/shared/standalone/log/var-log
      guest: /var/log

## Plugins go here
## see https://meta.discourse.org/t/19157 for details
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/angusmcleod/discourse-quick-messages
          - git clone https://github.com/discourse/discourse-solved
          - git clone https://github.com/angusmcleod/discourse-locations
          - git clone https://github.com/paviliondev/discourse-layouts.git
          - git clone https://github.com/discourse/discourse-signatures.git

## Any custom commands to run after building
run:
  - exec: echo "Beginning of custom commands"
  ## If you want to set the 'From' email address for your first registration, uncomment and change:
  ## After getting the first signup email, re-comment the line. It only needs to run once.
  #- exec: rails r "SiteSetting.notification_email='info@unconfigured.discourse.org'"
  - exec: echo "End of custom commands"

```

---

_[View the full topic](https://meta.discourse.org/t/ruby-gems-web-push-not-found/250058)._
