Closed antoinepemeja closed 11 months ago
👍
I have the same issue and just wanted to know if you have any updates here.
Hi, any updates? I am facing the same issue
I had luck manually setting my ruby version to 2.7.6
@owens-ben I am using a newer version of ruby and ruby version prior 3.0 will no longer be supported
Having an issue also with this. Even though it says pod is installed it isn't
ConfigsModel:
- command: install
- source_root_path: /Users/vagrant/git
- podfile_path: <unset>
- verbose: false
- is_cache_disabled: false
Searching for Podfile
Found Podfile: /Users/vagrant/git/ios/Podfile
Determining required cocoapods version
Searching for Podfile.lock
Found Podfile.lock: /Users/vagrant/git/ios/Podfile.lock
Required CocoaPods version (from Podfile.lock): 1.12.1
Searching for gem lockfile with cocoapods gem
No gem lockfile with cocoapods gem found at:
Using system installed CocoaPods version
Check selected Ruby is installed
Ruby 3.2.1 is installed
Installing cocoapods
Checking cocoapods 1.12.1 gem
Installed
cocoapods version:
$ pod "_1.12.1_" "--version"
rbenv: pod: command not found
The `pod' command exists in these Ruby versions:
2.7.6
command failed, error: exit status 127
command failed, error: exit status 127
Looks like our issue came down to having snyk
in there which does an install. Somehow it was causing this step to see pod
installed in 2.x ruby vs 3.x ruby.
Hello there, I'm a bot. On behalf of the community I thank you for opening this issue.
To help our human contributors focus on the most relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 90 days, so I marked it as stale.
The community would appreciate if you could check if the issue still persists. If it isn't, please close it. If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me".
If no comment left within 21 days, this issue will be closed.
I'll close this issue as it doesn't seem to be relevant anymore. We believe an old issue probably has a bunch of context that's no longer relevant, therefore, if the problem still persists, please open a new issue.
Troubleshooting
Issue description
My issue is only reproductible locally in my Apple M1. When I run the step
I have this error :
Failed to check if cocoapods 1.11.3 installed, error: unknown ruby installation type
The entire log :
Steps to reproduce
Because I use an Apple M1, I had to install correctly cocoapods without use the workaround with Rosetta. I mean, install the latest version of Ruby and then install cocoapods with gem -> https://stackoverflow.com/questions/64901180/how-to-run-cocoapods-on-apple-silicon-m1/66556339#66556339
FYI, if I try to keep with the ruby version installed by default in M1 and install cocoapods with BREW, the step fails too, but not for the same reason.
thank you