react-native-community / react-native-circleci-orb

A CircleCI Orb to Simplify Testing your React Native App
MIT License
176 stars 80 forks source link

Incorrect and inconsistent Ruby versions between executors #160

Closed thomsocialbrothers closed 8 months ago

thomsocialbrothers commented 2 years ago

Orb version

7.1.1

What happened

Incorrect and inconsistent Ruby versions between executors

Expected behavior

To implement the ruby version that is specified by the latest React Native release (0.70), which is version 2.7.5.

Currently, the executor linux_android has Ruby version 2.7.0 installed while the macos executor has Ruby version 2.7.4 installed. Whenever i try to build my application, my Gemfile's ruby version is never met, since the two jobs have different requirements of ruby versions. Besides, none of them includes 2.7.5, which is required by React Native's latest release.

As far as i can see there is no way of selecting a Ruby version through the executor's argument.

devnev commented 1 year ago

Use the circleci/ruby orb to install the correct ruby version after the fact. Also, change your Gemfile to specify ruby "~> 2.7.0" and it will be ok with both 2.7.0 and 2.7.4 builds.

fotos commented 8 months ago

Closing the issue as stale.