Skip to content

Commit fd3cb86

Browse files
committed
docs: add details about Ruby and rbenv uses
Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
1 parent 6254522 commit fd3cb86

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.github/DEVELOP.md

+18-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
## Technical preconditions
2222

2323
You should check wether or not you have the tools in use in the project like _Fastlane_, _SwiftLint_, _SwiftFormat_, etc.
24-
You can have a look for example in thr **THIRD\_PARTY.md** file which lists any dependencies and tools we use are different levels (SDK, showcase app, projects).
24+
You can have a look for example in the **THIRD\_PARTY.md** file which lists any dependencies and tools we use are different levels (SDK, showcase app, projects).
25+
Have a look on the lociks file to know which versions we are using (*Podfile*, *Podfile.lock*, *Packages.swift*, *Package.resolved*, *Gemfile*, *Gemfile.lock*).
2526

2627
If some tools are missing, pick the suitable command line below:
2728
```bash
@@ -38,7 +39,23 @@ brew install peripheryapp/periphery/periphery
3839
brew install gitleaks
3940
```
4041

42+
Ensure you have the suitable _Ruby_ version. We recommend the use of [rbenv](https://github.com/rbenv/rbenv) to load the suitable version of ruby.
43+
We use here _Ruby 3_ (3.1.x).
44+
If you are not used to this tool:
45+
46+
```shell
47+
# List available local version of Ruby
48+
rbenv install --list
49+
50+
# Apply the 3.1.2 version of Ruby (if listed previously)
51+
rbenv global 3.1.2
52+
53+
# Check Ruby version
54+
ruby --version
55+
```
56+
4157
We use also for our GitLab CI runners **Xcode 15.3**, we suggest you use this version or newer if you want but beware.
58+
**Xcode 16** use will come.
4259

4360
## Build showcase demo app
4461

0 commit comments

Comments
 (0)