2

I am trying to install byebug and it keeps giving me this error:

make: *** No rule to make target `/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/universal-darwin19/ruby/config.h', needed by `breakpoint.o'.  Stop.

I tried to reinstall ruby and it did not work.

Any help appreciated.

Ducklett
  • 63
  • 5

1 Answers1

3

I had the same error!

I just created a symbolic link:

cd /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0
ln -sf universal-darwin21 universal-darwin19

Now it is working fine.

Check which universal-darwin you have to point correctly.

Renato
  • 31
  • 2