Why I can't use cocoapods command
/ $ pod
fish: Unknown command 'pod'
~ $ pod
$ pod COMMAND
CocoaPods, the Cocoa library package manager.
Find the reason, my cocoapods install in chruby ruby 2.4, and
.ruby-version file in home directory.
So, the root directory not have
.ruby-version file, just use system base ruby, that not install cocoapods. So Unknown command error occur.
At last, I copy my
/.ruby-version, it's work!