Ubuntu 20.04 does not support Ruby v3 and latest bundler (2.5+)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- android, docker, ruby, ubuntu
- Domain
- infrastructure, mobile
Research direction
Start by inspecting the community Android image configuration and the Ruby/Bundler installation step; reproduce the reported failure on Ubuntu 20.04. Done means the image can use newer Ruby and Bundler versions rather than requiring Bundler 2.4.22.
Written by the indexing model from the issue text.
Description
Latest version of bundler (2.5.0 and above), requires Ruby version >= 3.0.0. However, the community image for android is using Ubuntu 20.04 which does not support versions of ruby newer than 2.7.0
Here is the current error we see when installing bundler (Using fastlane for both iOS and android builds):
ERROR: Error installing bundler:
The last version of bundler (>= 0) to support your Ruby & RubyGems was 2.4.22. Try installing it with `gem install bundler -v 2.4.22`
bundler requires Ruby version >= 3.0.0. The current ruby version is 2.7.0.0.
We can bypass this issue by adding -v 2.4.22 during gem install but it would be great to have a future proof solution that allows us to use newer Ruby and bundler versions.
- Dominant language
- Dockerfile
- Stars
- 541
- Forks
- 152
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from react-native-community/docker-android
-
Difficulty 1/5 1-3 hours Newbie friendliness 70/100
react-native-community/docker-android#250 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
react-native-community/docker-android#219 · 5 comments · 3 reactions ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
react-native-community/docker-android#193 · 8 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
react-native-community/docker-android#166 · 12 comments · 13 reactions ·
All issues in react-native-community/docker-android
Similar issues
-
task
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
vsanthanam/JBird#429 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
alexgorbatchev/simple-ptt#14 ·
-
github-request
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
openedx/axim-engineering#1758 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
components-web-app/docs#92 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100