So when I try running bundle install --without production
it tells me that I am getting an error and that I need to Make sure that gem install unf_ext -v
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