High Sierra: bad interpreter

简介: 升级到mac OS High Sierra之后,pod失败,错误如下:-bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.

升级到mac OS High Sierra之后,pod失败,错误如下:

-bash: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: bad interpreter: No such file or directory

解决方案:

sudo gem update --system
sudo gem install -n /usr/local/bin cocoapods
目录
相关文章
|
Linux C语言
Linux These critical programs are missing or too old: compiler
Linux These critical programs are missing or too old: compiler
2244 0
Linux These critical programs are missing or too old: compiler
|
存储 安全 虚拟化
Windows Kernel Exploitation Notes(一)——HEVD Stack Overflow
1.Download OSR Loader 3.0:[OSROnline]http://www.osronline.com/OsrDown.cfm/osrloaderv30.zip?name=osrloaderv30.zip&id=1572.Download HEVD Source Code & HEVD_3.0:[Github]https://github.com/hacksysteam/HackSysExtremeVulnerableDriver/releases/tag/v3.00
x86_64-linux-gnu/libgdk-x11-2.0.so: error adding symbols: DSO missing from command line
x86_64-linux-gnu/libgdk-x11-2.0.so: error adding symbols: DSO missing from command line
222 0
成功解决The following specifications were found to be incompatible with the existing python installation
成功解决The following specifications were found to be incompatible with the existing python installation
PAT (Advanced Level) Practice - 1022 Digital Library(30 分)
PAT (Advanced Level) Practice - 1022 Digital Library(30 分)
116 0
|
Kubernetes 网络协议 Ubuntu
错误消息 This computer doesn‘t have VT-X/AMD-v enabled
错误消息 This computer doesn‘t have VT-X/AMD-v enabled
451 0
错误消息 This computer doesn‘t have VT-X/AMD-v enabled
|
Shell
Solving environment: failed with initial frozen solve. Retrying with flexible solve的解决方法
Solving environment: failed with initial frozen solve. Retrying with flexible solve的解决方法
12546 0
Solving environment: failed with initial frozen solve. Retrying with flexible solve的解决方法