# ERROR: Can't find Ruby library file or shared library pups

**URL:** https://meta.discourse.org/t/error-cant-find-ruby-library-file-or-shared-library-pups/230438
**Category:** Self-hosting
**Tags:** mail-receiver
**Created:** [June 19, 2022, 10:29pm UTC](https://meta.discourse.org/t/error-cant-find-ruby-library-file-or-shared-library-pups/230438 "2022-06-19T22:29:29Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)
#### Post date: [June 19, 2022, 10:29pm UTC](https://meta.discourse.org/t/error-cant-find-ruby-library-file-or-shared-library-pups/230438/1 "2022-06-19T22:29:29Z")

</div>

Running `./launcher rebuild mail-receiver` today I saw:

```plaintext
Status: Downloaded newer image for discourse/mail-receiver:release
docker.io/discourse/mail-receiver:release
ERROR: Can't find Ruby library file or shared library pups
cd /pups && /pups/bin/pups --stdin

```

What does the error message mean, and is it anything to be worried about? Thanks.

---

<div class="post-metadata">

### Author: ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)
#### Post date: [September 30, 2022, 9:32am UTC](https://meta.discourse.org/t/error-cant-find-ruby-library-file-or-shared-library-pups/230438/2 "2022-09-30T09:32:32Z")

</div>

I had the same error today. Nothing stopped working last time but it would be good if someone could confirm it’s all OK.

```plaintext
Stopping old container
+ /usr/bin/docker stop -t 60 mail-receiver
mail-receiver
release: Pulling from discourse/mail-receiver
Digest: sha256:[...]
Status: Image is up to date for discourse/mail-receiver:release
docker.io/discourse/mail-receiver:release
ERROR: Can't find Ruby library file or shared library pups
cd /pups && /pups/bin/pups --stdin

```

---

<div class="post-metadata">

### Author: ![jeanas](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jeanas/32/281211_2.png) [@jeanas](https://meta.discourse.org/u/jeanas)
#### Post date: [October 12, 2023, 9:55am UTC](https://meta.discourse.org/t/error-cant-find-ruby-library-file-or-shared-library-pups/230438/3 "2023-10-12T09:55:23Z")

</div>

Same message here.

```plaintext
root@ubuntu:/var/discourse# ./launcher bootstrap mail-receiver
x86_64 arch detected.
WARNING: containers/mail-receiver.yml file is world-readable. You can secure this file by running: chmod o-rwx containers/mail-receiver.yml
release: Pulling from discourse/mail-receiver
bd897bb914af: Pull complete 
ef4b226323ac: Pull complete 
2b34a0d15f20: Pull complete 
57cbb99f1cd5: Pull complete 
87c1d012c8b4: Pull complete 
8a327301170e: Pull complete 
7766ed18dc5a: Pull complete 
8d4cbb7bec2b: Pull complete 
Digest: sha256:25abf0d6f1e4324fb0f6c6ec5839b20b6d6c685bb55eae63146065991ae5c9f4
Status: Downloaded newer image for discourse/mail-receiver:release
docker.io/discourse/mail-receiver:release
ERROR: Can't find Ruby library file or shared library pups
cd /pups && /pups/bin/pups --stdin
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
sha256:7f83b1482bbb11d399897cb95f586c59b6c436f26df62f89f2b9c490d4ba6219
0d129f03b896ad72d9dc8983861fccf3028f0cf6371a482067af581cfb104eaa
Successfully bootstrapped, to startup use ./launcher start mail-receiver

```

---

<div class="post-metadata">

### Author: ![Jonathan5](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathan5/32/197134_2.png) [@Jonathan5](https://meta.discourse.org/u/Jonathan5)
#### Post date: [November 19, 2024, 11:00am UTC](https://meta.discourse.org/t/error-cant-find-ruby-library-file-or-shared-library-pups/230438/4 "2024-11-19T11:00:54Z")

</div>

I still get this error when rebuilding mail-receiver.

```plaintext
Status: Downloaded newer image for discourse/mail-receiver:release
docker.io/discourse/mail-receiver:release
ERROR: Can't find Ruby library file or shared library pups
cd /pups && /pups/bin/pups --stdin

```
