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.
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 required. 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.