flutter / flutter/website

setup order on Mac about CocoaPods is incomplete

Open
#12,224 0 comments 0 reactions 0 assignees View on GitHub
from.page-issue p2-medium
Dominant language
Dart
Stars
3.1k
Forks
3.5k
Avg merge
2d 4h
Merged PRs (30d)
95

Description

### Page URL

https://docs.flutter.dev/get-started/install/macos/desktop/

### Page source

https://github.com/flutter/website/tree/main/src/content/get-started/install/macos/desktop.md

### Describe the problem

Mac is coming with ruby 2.0.6

simply running `sudo gem install cocoapods` as mentioned in the cocoapods step doesn't work

```
ERROR: Error installing cocoapods:
The last version of drb (>= 0) to support your Ruby & RubyGems was 2.0.6. Try installing it with `gem install drb -v 2.0.6` and then running the current command again
drb requires Ruby version >= 2.7.0. The current ruby version is 2.6.10.210.
```

### Expected fix

be able to provide context or additional note about the case. do we need to install ruby first? or run `gem install dry -v 2.0.6`?

### Additional context

_No response_

### I would like to fix this problem.

- [ ] I will try and fix this problem on docs.flutter.dev.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.