# Checks fail with error when installing ruby-filemagic

**URL:** <https://forum.foodcoops.net/t/checks-fail-with-error-when-installing-ruby-filemagic/739>\
**Category:** Foodsoft Developement\
**Created:** [January 27, 2025, 10:33am UTC](https://forum.foodcoops.net/t/checks-fail-with-error-when-installing-ruby-filemagic/739 "2025-01-27T10:33:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![twothreenine](https://forum.foodcoops.net/user_avatar/forum.foodcoops.net/twothreenine/32/36_2.png) [@twothreenine](https://forum.foodcoops.net/u/twothreenine)\
**Post date:** [January 27, 2025, 10:33am UTC](https://forum.foodcoops.net/t/checks-fail-with-error-when-installing-ruby-filemagic/739/1 "2025-01-27T10:33:07Z")

</div>

The Ruby & Rubocop checks fail with the following note:

```auto
An error occurred while installing ruby-filemagic (0.7.3), and Bundler cannot
continue.

In Gemfile:
  foodsoft_documents was resolved to 0.0.1, which depends on
    ruby-filemagic

```

Btw I just implemented a fix concerning some transport cost related issues and created a [PR](https://github.com/foodcoops/foodsoft/pull/1082), then this error occurred.

---

<div class="post-metadata">

**Author:** ![yksflip](https://forum.foodcoops.net/letter_avatar_proxy/v4/letter/y/58f4c7/32.png) [@yksflip](https://forum.foodcoops.net/u/yksflip)\
**Post date:** [February 6, 2025, 1:49pm UTC](https://forum.foodcoops.net/t/checks-fail-with-error-when-installing-ruby-filemagic/739/2 "2025-02-06T13:49:22Z")

</div>

I guess it might be a problem with the github CI … maybe the image `ubuntu-latest` the ci is based on does not contain the package `libmagic-dev` anymore

---

<div class="post-metadata">

**Author:** ![yksflip](https://forum.foodcoops.net/letter_avatar_proxy/v4/letter/y/58f4c7/32.png) [@yksflip](https://forum.foodcoops.net/u/yksflip)\
**Post date:** [February 6, 2025, 2:14pm UTC](https://forum.foodcoops.net/t/checks-fail-with-error-when-installing-ruby-filemagic/739/3 "2025-02-06T14:14:25Z")

</div>

> <https://github.com/foodcoops/foodsoft/pull/1086>
>
> more of a quickfix to get the pipeline running again ... maybe good enough for n…ow?
> maybe #1085 can be the proper solution once ready?
