-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 20.04 does not support Ruby v3 and latest bundler (2.5+) #215
Comments
This image is for building Android, why do you need Ruby/Bundler? |
We use fastlane to build the Android app as well as the iOS apps, and use bundler to install fastlane as the recommended installation method. |
I see. We strive to keep this image as smaller as possible and don't account for all the possible use cases. I'm happy to review a PR that will bump the image to Ubuntu 22.04 which will solve your issue. |
Thanks @cortinico, the PR is good to go 👍 #216 |
I see the PR merged but not auto-deployed. I suspect this might be the reason: #217 |
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):
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.The text was updated successfully, but these errors were encountered: