Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Official Ruby 2.4.2 Deprecation

Discussion in 'Unity Build Automation' started by Benjamin-Gooding, Apr 11, 2023.

  1. Benjamin-Gooding

    Benjamin-Gooding

    Unity Technologies

    Joined:
    Apr 12, 2022
    Posts:
    246
    Ruby 2.4.2 Deprecation

    Starting today, April 11th 2023, all newly created targets default to using Ruby 2.7.4. Ruby 2.4.2 has been end-of-life since March 2020 and on Tuesday June 13th, 2023 we will be officially dropping support for Ruby 2.4.2. Ruby 2.7.4 will continue to be available and will be the default ruby version.

    Builds that are configured to use Ruby 2.4.2 will automatically be migrated to Ruby 2.7.4 on Tuesday June 13th. No user action is required to make this change.

    Potential impact to pre and post-build scripts
    If a pre-build or post-build script is configured to use Ruby, check to ensure that the script will continue to work with Ruby 2.7.4.
     
    MasahikoHagio likes this.
  2. oufzy

    oufzy

    Joined:
    Apr 2, 2020
    Posts:
    1
    @Benjamin-Gooding - what other ruby versions are available? I haven´t been able to find it anywhere?
     
    nobluff67 likes this.
  3. OutsidePlaysGames

    OutsidePlaysGames

    Joined:
    Jul 15, 2018
    Posts:
    1
    How do you upgrade your Ruby version? I can't build to Xcode 14.1 without upgrading it

    EDIT: I found it, you just need to go to advanced setting and changing Ruby version there (I am talking about the advanced settings tab in the configuration setup within unity cloud build)
     
  4. Benjamin-Gooding

    Benjamin-Gooding

    Unity Technologies

    Joined:
    Apr 12, 2022
    Posts:
    246
    Ruby 2.7.4 is the only other available option. You can pro-actively change your build targets to Ruby 2.7.4 by going to the advanced settings tab in the build target configuration on the DevOps Build Automation site.