IBM i Global

IBM i Global

Connect, learn, share, and engage with IBM Power.

 View Only
  • 1.  V7R5 Upgrade

    Posted Thu January 04, 2024 10:22 AM

    We recently upgraded our Test IBM i to V7R5. When we did this - our ruby applications broke.  Wondering if anyone has had any experience with this? 



    ------------------------------
    Matthew Roessner
    ------------------------------


  • 2.  RE: V7R5 Upgrade

    Posted Fri January 05, 2024 01:12 PM

    Sorry, I don't do Ruby or much of any other open source stuff.

    I did some searching around and found the following:  https://ibm.github.io/ibmi-oss-resources/

    Let us know what you find out.



    ------------------------------
    Robert Berendt IBMChampion
    ------------------------------



  • 3.  RE: V7R5 Upgrade

    Posted Wed January 10, 2024 01:43 PM

    Hello Matthew, how you try to patch th Power Ruby version after the O.S Upgrade?.

    Install Ruby on Rails on IBM i Instructions | PowerRuby



    ------------------------------
    Juan Martin Araya Carrasco
    ------------------------------



  • 4.  RE: V7R5 Upgrade

    Posted Wed January 10, 2024 01:57 PM

    Ultimately it was the fact that V7R5 includes OpenSSL 1.1.1 that broke our Ruby applications. The library definitions in the newer version of OpenSSL were not compatible with the older version of Ruby we were running.  To get around this, we created a directory in the IFS (/rubyfix) and placed two files which contained the older library definitions for OpenSSL (libssl.a and libcrypto.a) which we pulled from a previous version of V7R4.  We then added the following line to our start_app script for our application: 

    export LIBPATH=/rubyfix

    This added in the older OpenSSL library definitions into our App "path" and that ultimately fixed the problem (at least for now). We are planning to move forward with replacing Ruby with something else...but all in good time.



    ------------------------------
    Matthew Roessner
    ------------------------------



  • 5.  RE: V7R5 Upgrade

    Posted Wed January 10, 2024 02:19 PM

    Good to heard that Matthew, its very important to update the app to use the latest SSL version and avoid any security problem.



    ------------------------------
    Juan Martin Araya Carrasco
    ------------------------------