DEV Community

Saad Shakil
Saad Shakil

Posted on • Edited on

1 1

nio4r "Failed to build gem native extension."

In an RoR project, bundle install was giving:

Installing nio4r 2.5.8 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
Enter fullscreen mode Exit fullscreen mode

The following commands fix this:

bundle config build.nio4r --with-cflags="-Wno-incompatible-pointer-types"
gem install nio4r -v 2.5.8 -- --with-cflags="-Wno-incompatible-pointer-types"
Enter fullscreen mode Exit fullscreen mode

Top comments (1)

Collapse
 
lionnelpat profile image
Lionnel Patrick

Really helpfull
Thank's it's works for me

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more