This happened to me after upgrading MacOS to version “High Sierra” on my MacBook. I cloned my application repository and went to execute a bundle install command, but it throws the following error message:
I'm stuck trying to install rails on my mac. I have OS X 10.6.8 and I have confirmed that I have Ruby, version 1.8.7 I ran sudo gem update and sudo gem update -system to get the latest versions o. Dismiss Join GitHub today. GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Outlook for mac freezing el capitan download. So I tried to enter password and install the bundled gems to RubyGems using
sudo
. But this did not solve the problem and here’s what I saw:In this error message, we are prompted to install the gem
ffi
by using the following command:This did not help, and the same with the use of
sudo
. Then I decided to try set a location other than my system’s gem repository. Moreover, in the first error message we were asked about this option.Looks good. Let’s now try to run the bundle install command:
/ System / Library / Frameworks / Ruby. Framework / Versions / 1.8 / usr / bin / ruby extconf. Rb can ' t find header files for ruby at / System / Library / Frameworks / Ruby. Framework / Versions / 1.8 / usr / lib / ruby / ruby. H Gem files will remain installed in / Library / Ruby / Gems /. Sep 30, 2019 After the latest upgrade on MacOS when I tried to use docker on my mac to build my new images I got this error: mkmf.rb can’t find header files for ruby at /System.
And it worked.
Conclusion
That’s it, you’re done. So simple isn’t it?
If you are having trouble fixing this problem with the instructions above, but are being able to solve this problem with any another method please describe it in the comment section below. Thanks!
If this article helped you solve the problem then please leave a comment
Thanks for reading!
Arthur is a designer and full stack software engineer. He is the founder of Space X-Chimp and the blog My Cyber Universe. His personal website can be found at arthurgareginyan.com.
Awesome Docks For: MacOS Like Docks 1. PlankCool dock for Ubuntu 18.04 LTS. There are various add-ons available for the Ubuntu like themes, icons and many more. Today, we are going to write about some of the awesome docks for Ubuntu 18.04/ Ubuntu 16.04. 8 macos like docks for ubuntu fossmintfossmint amp.
Mkmf.rb Can't Find Header Files For Ruby Macos Version
Follow Arthur