Skip to content

CocoaPods CLI fails in High Sierra due to change of Ruby version #6778

@lch88

Description

@lch88

Report

What did you do?

Run pod install or whatever starts with pod

What did you expect to happen?

pod xxx should run pod command corresponding to xxx.
In case of pod install, it should install all pod dependencies correctly.

What happened instead?

Fails with following one-line error message
zsh: /usr/local/bin/pod: bad interpreter: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin: no such file or directory

The reason seems to be change of system ruby version to 2.3. The path is moved to /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin.

CocoaPods Environment

*pod env doesn't work either.

macOS 10.13 (17A264c) High Sierra Developer Beta
CocoaPod 1.2.1

Project that demonstrates the issue

Not tied to certain project setting.

Metadata

Metadata

Assignees

No one assigned

    Labels

    s1:awaiting inputWaiting for input from the original author

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions