Decidim 0.28 has bumb ruby version to 3.1. This ruby version supports OpenSSL 3.0 if shipped with the underlying OS.
However some dependent gems are not yet compatible with OpenSSL3:
[ ] JWT https://github.com/jwt/ruby-jwt/ is locked at version 2.2.*, looks like support for OpenSSL starts at version 2.5 (not yet available as a gem)
Check if your system is using OpenSSL 3 or 1.1 by running:
ruby -ropenssl -e 'puts OpenSSL::OPENSSL_VERSION'
OpenSSL 3.0.2 15 Mar 2022
There is a workaround that allows to use ruby 3.1 by recompiling it using the old OpenSSL 1.1. For instance, in Ubuntu 22.04:
Manually install openssl 1.1 dev libraries (you might need some additional dev libraries in case the ./config step fails:
wget https://www.openssl.org/source/openssl-1.1.1n.tar.gz
tar xf openssl-1.1.1n.tar.gz
cd openssl-1.1.1n
./config --prefix=/opt/openssl-1.1.1n --openssldir=/opt/openssl-1.1.1n shared zlib
make
make test
sudo make install
sudo rm -rf /opt/openssl-1.1.1n/certs
sudo ln -s /etc/ssl/certs /opt/openssl-1.1.1n
Manually compile ruby 3.1 with openssl-1.1, in case you are using rbenv, just exec:
Decidim 0.28 has bumb ruby version to 3.1. This ruby version supports OpenSSL 3.0 if shipped with the underlying OS.
However some dependent gems are not yet compatible with OpenSSL3:
2.2.*
, looks like support for OpenSSL starts at version2.5
(not yet available as a gem)Check if your system is using OpenSSL 3 or 1.1 by running:
There is a workaround that allows to use ruby 3.1 by recompiling it using the old OpenSSL 1.1. For instance, in Ubuntu 22.04:
Manually install openssl 1.1 dev libraries (you might need some additional dev libraries in case the
./config
step fails:Manually compile ruby 3.1 with openssl-1.1, in case you are using rbenv, just exec:
Result:
With this, you can use bulletin_board again in Decidim using ruby 3.1