# Having a hard time installing \`eth\` gem in a plugin in production

**URL:** <https://meta.discourse.org/t/having-a-hard-time-installing-eth-gem-in-a-plugin-in-production/217496>\
**Category:** Development\
**Created:** [February 8, 2022, 11:54am UTC](https://meta.discourse.org/t/having-a-hard-time-installing-eth-gem-in-a-plugin-in-production/217496 "2022-02-08T11:54:21Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![fzngagan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fzngagan/32/259349_2.png) [@fzngagan](https://meta.discourse.org/u/fzngagan)\
**Post date:** [February 8, 2022, 11:54am UTC](https://meta.discourse.org/t/having-a-hard-time-installing-eth-gem-in-a-plugin-in-production/217496/1 "2022-02-08T11:54:21Z")

</div>

I’m having to install the `eth` gem in a plugin but really having a hard time doing that. It depends on a bunch of other gems, a few of which have native extensions. Here’s the dependency list if you wanna give it a try.

```plaintext
gem 'pkg-config', '1.4.7', require: false
gem 'mkmfmf', '0.4', require: false
gem 'keccak', '1.3.0', require: false
gem 'zip', '2.0.2', require: false
gem 'mini_portile2', '2.7.0', require: false
gem 'rbsecp256k1', '5.1.0', require: false
gem 'konstructor', '1.0.2', require: false
gem 'ffi', '1.15.5', require: false
gem 'ffi-compiler', '1.0.1', require: false
gem 'scrypt', '3.0.7', require: false
gem 'eth', '0.5.1', require: false
gem 'siwe', '1.0.0', require: false

```

The issue is with `rbsecp256k1`. It tries to require `mini_portile2` for building its native extensions but can’t find it inspite of it being installed and `require`d. I’ve gone to great lengths, like forking the gem and requiring the absolute path manually, also tried to literally clone the `mini_portile2` into `rbsecp256k1` and requiring it from there but nothing has worked yet.

Any help would be greatly appreciated.

---

_[View the full topic](https://meta.discourse.org/t/having-a-hard-time-installing-eth-gem-in-a-plugin-in-production/217496)._
