Posts

Webpack build failing with ERR_OSSL_EVP_UNSUPPORTED

Mittwoch, 21. Juni 2023, 13:42 Uhr | roberto@vasquez-angel.de |

If webpack build fails with ERR_OSSL_EVP_UNSUPPORTED on node > 16 try exporting following variable before running rails:

export NODE_OPTIONS=--openssl-legacy-provider

Ruby < 3.1 installs failing on Ubuntu 22.04 with an openssl error

Montag, 03. April 2023, 11:07 Uhr | roberto@vasquez-angel.de |

Seems like ubuntu recently updated openssl to v3. This seems to clash with installing older ruby versions.

Fix it by having rvm use its own openssl version:

#> rvm pkg install openssl
#> rvm reinstall ruby-2.7.8 --with-openssl-dir=$HOME/.rvm/usr

See https://github.com/rvm/rvm/issues/5209 for more details.