我正在尝试使用Cocoapods在一个新项目上安装Parse。我得到的错误是ruby-2.3未安装,但我已经安装了2.3.0。宝石。
Mac:xx richard$ pod install
Analyzing dependencies
Downloading dependencies
Installing Bolts (1.9.0)
Installing Parse (1.17.2)
[!] /bin/bash -c
set -e
ruby ParseUI/Scripts/convert_images.rb ParseUI/Resources/Images/ ParseUI/Generated/PFResources
rbenv: version `ruby-2.3' is not installed (set by /Users/richard/Library/Caches/CocoaPods/Pods/Release/Parse/1.17.2-3b31a/.ruby-version)任何建议都非常感谢!
发布于 2019-02-07 17:10:21
在项目文件中安装pod之前,在终端更新rbenv。这清除了错误。
Mac:~ user$ rbenv install -l
Mac:~ user$ rbenv install 2.3.8
Mac:~ user$ gem install bundler
then switch to project file
Mac:Project user$ pod installhttps://stackoverflow.com/questions/54562304
复制相似问题