Ignoring GEM because its extensions are not built
I came across this exact issue today - getting warnings like this for gems that weren't even installed!
... Well, it turns out the gems were installed - for a different ruby than the one I had set active with chruby (2.2.3 vs 2.3.1).
Switching to all the different rubies and running gem pristine --all
on all of them solved the problem.
Ignoring gems because its extensions are not built
I ran the command gem pristine --all
to remove all errors
This error occurs when you switch the ruby version
Ignoring bcrypt-3.1.11 because its extensions are not built. Try: gem pristine bcrypt --version 3.1.11
Probably during update you have also installed new XCode, it includes libs required to build extensions. But it will not work until you accept XCode licence, and install new components. XCode will do it for you on first run.
So, first run XCode, accept licence, install missing components (XCode should automatically ask if you like to install them).
It might be required to reinstall ruby. (Described here: https://stackoverflow.com/a/16775469/2074939)
Restart console.
If this is first time you install Ruby and Ruby on Rail on your system I recommend reading this:
https://gorails.com/setup/osx/10.12-sierra
Related Topics
What Will Give Me Something Like Ruby Readline with a Default Value
Rails 2 to Rails 3:Using Link_To Instead of Link_To_Remote (Including Remote and Update)
Ruby Array Subtraction Without Removing Items More Than Once
Ruby on Windows Causes Error Cannot Load Such File Bcrypt_Ext
How to Create an Object Who Act as a False in Ruby
What Does a ||= Mean in Ruby Language
Rails Attachments Inline Are Not Shown Correctly in Gmail
Is There a 'Variable_Get' Method? If Not, How to Create My Own
Is Order of a Ruby Hash Literal Guaranteed
In Ruby, Why Does Nil[1]=1 Evaluate to Nil
Passing Block into a Method - Ruby
Ruby: How to Install a Specific Version of a Ruby Gem
Uninstall All Installed Gems, in Osx
How Do Rvm and Rbenv Actually Work
How to Find a Hash Key Containing a Matching Value