Skip to content

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

Open
@tuncaulubilge

Description

@tuncaulubilge

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions