简体   繁体   English

安装 byebug gem 时出错

[英]Make errors while installing byebug gem

I am trying to install byebug and it keeps giving me this error:我正在尝试安装 byebug,但它一直给我这个错误:

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.我尝试重新安装 ruby,但没有成功。

Any help appreciated.任何帮助表示赞赏。

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.检查您必须正确指出哪个通用达尔文。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM