Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Ubuntu 20.04 does not support Ruby v3 and latest bundler (2.5+)

Open
#215 5 comments 3 reactions 0 assignees View on GitHub

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

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from react-native-community/docker-android

All issues in react-native-community/docker-android

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.