logo
down
shadow

macOS Mojave 'ruby/config.h' file not found


macOS Mojave 'ruby/config.h' file not found

Content Index :

macOS Mojave 'ruby/config.h' file not found
Tag : ruby , By : Jody Bannon
Date : December 05 2020, 12:24 PM

To fix the issue you can do macOS Catalina
Issue reappeared in Catalina and I wasn't able to spot this package in the Developer SDK. Until better solution found, I was able to workaround this with rubyenv: https://github.com/orta/cocoapods-keys/issues/198#issuecomment-510909030
brew install rbenv ruby-build
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile 
rbenv install 2.6.3
rbenv global 2.6.3
xcode-select --install
open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg

Comments
No Comments Right Now !

Boards Message :
You Must Login Or Sign Up to Add Your Comments .

Share : facebook icon twitter icon

gem install - fatal error: 'ruby/config.h' file not found in Mojave


Tag : ruby , By : Paul
Date : March 29 2020, 07:55 AM
With these it helps gem install is failing in MacOs Mojave. Anything that can help me solve this? My ruby version is ruby 2.3.7p456. , If you have the Xcode 10 beta running this might fix it
sudo xcode-select -s /Applications/Xcode-beta.app/Contents/Developer

ntpdate command not found in MacOS Mojave


Tag : bash , By : 3NZ0
Date : March 29 2020, 07:55 AM
help you fix your problem It's a duplicate. Please check this stackoverflow question.
TL;DR use sudo sntp -sS time.apple.com instead.

macOS Mojave: invalid active developer path after updating to Mojave from High Sierra


Tag : git , By : user137798
Date : March 29 2020, 07:55 AM
This might help you After upgrading to macOS Mojave, I tried to run GIT from Terminal but it kept giving me the following error: , Open Terminal, and run the following:
xcode-select --install
xcode-select --switch /Applications/Xcode.app

xcode-select --switch /Library/Developer/CommandLineTools

Unable to install any Ruby with RVM on MacOS 10.14.2 Mojave: Error running '__rvm_make -j4'


Tag : ruby , By : Peter Leung
Date : March 29 2020, 07:55 AM
With these it helps I ran into this issue as well. In my case it was due to MacPorts being outdated after I upgraded to (MacOS) Mojave.
I followed the steps listed on MacPorts' migration guide here: https://trac.macports.org/wiki/Migration

Installing xdebug on MacOs Mojave - 'php.h' file not found


Tag : php , By : DaveF
Date : March 29 2020, 07:55 AM
I wish did fix the issue. I ran into this trying to compile xdebug on my system, I had to do the following to get it to work
1) (Re)install the command line tools (I had installed them at one point, but the files under /Library/Developer/CommandLineTools/ were missing so I must have deleted it...)
xcode-select --install
sudo installer -pkg /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg -target /
Related Posts Related QUESTIONS :
  • key: value vs key :value in ruby?
  • Ruby dig set - Assign values using Hash#dig
  • How to determine big O Time complexity of array difference in Ruby
  • How to resolve Rubocop error 'Favor `format` over `String#%`'
  • Blocks in Ruby, Error:Wrong Number of arguments
  • Reassigned hash changes the original hash
  • rspec hooks(before and after) is not working
  • Next-ing from child each loop in Ruby
  • convert byte to string in rails
  • What does the ruby ? method do?
  • ruby code error: '+'no implicit conversion of Integer into String
  • How to run the simplest unit test
  • How do I update controller param to accept nested attributes with rails?
  • How does the method reference operator .: work?
  • How to "magically" add code to all public class methods in ruby?
  • Trying to AND all elements in a list of lists
  • How can I assign a variable the largest 32 bit signed value in ruby without explicitly defining it
  • I'm trying to convert a value to an integer what am I doing wrong here?
  • Why do I get syntax errors when I deploy capistrano?
  • When is it a good idea to define a static ruby class?
  • How to find the number of unique occurrences for an Array in Ruby
  • In Sinatra, how to render json?
  • why do I have to reference the method instead of the @variable?
  • How to get table name for a simple Sequel Dataset object?
  • ruby exact number log (logarithm) function
  • Hexdecimal to String Convert - Ruby
  • Spreadsheet::Workbook.new creates .xls instead of xlsx
  • How to split a long number into pairs of digits
  • Ruby/Minitest Spec: How to test that a method returns a value within a given array?
  • Ruby Enumerable#count performance issue in algorithm
  • Ruby library to parse strings into the appropriate data type Google Sheets-style
  • Chaining method blocks (Ruby)
  • rbenv doesn't have the ruby version and the ruby-build plugs directory doesn't exist, what to do?
  • How to make a square with any symbol, using ruby loops?
  • unexpected keyword_end MongoDB Injection
  • What's the difference between <<-EOH and <<~EOH (if there is any) in ruby
  • Trouble about iterating over an array to generate frequencies in a hash
  • Why is this code from Ruby book not working?
  • Unexpected FrozenError when appending elements via <<
  • I don't understand the code in Ruby documentation that assigns a value within an if expression
  • Ruby - how to reload a file with changes in IRB or PRY?
  • Cannot call non W3C standard command while in W3C mode (Selenium::WebDriver::Error::UnknownCommandError) with Selenium C
  • Why coerce not triggered when i use ""*Point
  • Removing brackets from a string
  • define rvm installation directory
  • Ruby net/imap getting OpenSSL::SSL::SSLError - self-signed certificate?
  • Sort a array of string by the reverse value
  • Open file with Ruby
  • How to remove all the elements after a particular index
  • How to set default cookie domain in Rails3
  • Execute code once Sinatra server is running
  • Find a set of common elements from a multi-dimensional array recursively
  • Call nested rake file from the root directory
  • Logging in with WebFinger and OpenID
  • How do I pass arguments from the parent task to the child task in Rake?
  • Use ruby Timeout class as background thread
  • What are the features of dynamic languages (like Ruby or Clojure) which you are missing in Scala?
  • xapian-full installed on mac os x snow leopard but failed with dlopen LoadError
  • Xapian gem failed to install on Mac OS X Snow Leopard + macports
  • Shell Script Sequencing with Rake
  • shadow
    Privacy Policy - Terms - Contact Us © scrbit.com