Installing unf_ext 0.0.7.2 not working

I ran into this deploying to a remote box. As suggested in comments, I was able to fix it by opening a console session on the affected box and running:

gem update rails
gem install unf_ext -v '0.0.7.2'

And I was then able to deploy successfully.


After updating to Mojave MacOS version, the ruby 'lost' the reference.

To solve

$ rvm list

In my case, the version listed was:

ruby-2.5.1 [ x86_64 ]

$ rvm use ruby-2.5.1 to change to 'current' version used

$ rvm list again to see the current version

=> ruby-2.5.1 [ x86_64 ]

After that everything are okay running bundle install or bundle update or gem install or gem update


I just have the same problem when i try to install vagrant plugin, you need to install ruby-devel before. Hope this help you.


This error can come across due to various reasons, so it's not easy to tell what might have really caused, preventing you from bundle install, so try the following fixes, if not worked please give more details on errors that appears :) If the error was because of missing gmkdir, then run the following command:

brew install coreutils

If the error was due to missing C++ headers related then run the bellow command:

yum install gcc-c++

Also have a look at the developer's home page given below to check you meet all dependencies required:

unf_ext 0.0.7.2 : Unicode Normalization Form support library for CRuby