Mkmf.rb Can't Find Header Files For Ruby Macos

 
Mkmf.rb Can't Find Header Files For Ruby Macos Average ratng: 6,1/10 4841 reviews

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:

  1. Mkmf.rb Can't Find Header Files For Ruby Macos Download
  2. Header Files In C++
  3. Mkmf.rb Can't Find Header Files For Ruby Macos Update

Raven 3.3 for macos ableton live quick start. Ii ruby-dev:i386 1:2.3.3 i386 Header files for compiling extension modules for Ruby (default version)ii ruby1.8-dev 1.8.7.358-7 i386 Header files for compiling extension modules for the Ruby 1.8ii ruby2.3-dev:i386 2.3.3-1 i386 Header files for compiling extension modules for the Ruby 2.3. It looks like CocoaPods 1.9.0, the latest version as of this writing, depends on a newer version of Ruby than 2.3.7. But macOS Mojave only includes Ruby 2.3.7, so you have a few different options. Upgrade to macOS Catalina and get Ruby 2.6.3; Use Ruby Version Manager to install a newer version of Ruby; Install an older version of CocoaPods.

Mkmf.rb Can't Find Header Files For Ruby Macos 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:

'gem install fpm' fails due to mkmf.rb can't find header files for ruby at /usr/lib/ruby/ruby.h #366. Closed Dieterbe opened this issue Feb 20, 2013 5 comments Closed 'gem install fpm' fails due to mkmf.rb can't find header files for ruby at /usr/lib/ruby/ruby.h #366. Web Engineer 2009-2011 Hatena(part-time) 2011-2015 DeNA. Source site setup new drafts ruby macos rubygems install jekyll MySQLインストール:エラー:gemネイティブ拡張を構築できませんでした Ubuntuでsqlite3-rubyのインストールエラー. Nov 14, 2011 I converted his script to Python with no dependencies so you don't need to install anything else. If anyone wants a copy let me know. It only does English though as I do not have a computer anymore and can't add functionality for other languages.

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:

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!

Mkmf.rb

Steam for mac os yosemite. If this article helped you solve the problem then please leave a comment

Thanks for reading!

Header Files In C++

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.

Mkmf.rb Can't Find Header Files For Ruby Macos Update

Follow Arthur