gem install - fatal error: 'ruby/config.h' file not found in Mojave
If you have the Xcode 10 beta running this might fix it
sudo xcode-select -s /Applications/Xcode-beta.app/Contents/Developer
Error installing CocoaPods - macOS BigSur
Well, today I was able to finally install Cocoapods successfully, but it was a weird process.
When learning people usually tell you to stay away from betas, and while I was in the stable AppStore-version of Xcode, I was running Big Sur B9; and that could have been the problem.
I completely uninstalled Xcode 12.0.1 and then downloaded from Apple Developer Xcode 12.2 beta. I then downloaded and installed the command line tools also for 12.2 beta, and ran again the cocoapods installation in Terminal… and voila!
After installing and running Xcode beta I was able to install and now works fine.
Maybe when BigSur becomes public this will be solved? Because not everyone needs or has to run Xcode beta versions.
Xcode 7.3.1 cannot be opened in MacOS Mojave
I have experienced the same issue after upgrading to macOS Mojave. The only solution which I had to do is to download Xcode 8 and migrate to Swift 3.
Incase there're any alternatives, please share!
Related Topics
Select Arrays Between Date Ranges with Ruby
Why Do I Get a Bcrypt-Ruby Gem Install Error
Can You Eval Code in the Context of a Caller in Ruby
3 Equals or Case Equality Operator
Nokogiri Was Built Against Libxml Version 2.7.7, But Has Dynamically Loaded 2.7.3
How to Map and Remove Nil Values in Ruby
Ruby on Rails Scalability/Performance
Ruby/Rails: Converting a Date to a Unix Timestamp
File.Expand_Path("../../Gemfile", _File_) How Does This Work? Where Is the File
Docker for MAC - Mkmf.Rb Can't Find Header Files for Ruby
Circular Dependency Detected While Autoloading Constant User
How to Embed Regular Expressions in Other Regular Expressions in Ruby
Rails - Cannot Run App: Unable to Load the Eventmachine C Extension;
Using Memcache Client with Ruby
Block Syntax Difference Causes "Localjumperror: No Block Given (Yield)"
Why Do This Ruby Object Have Both To_S and Inspect Methods That Appear to Do the Same Thing
What's the Difference Between Design Patterns and Design Principles