Compiling Ruby 2.7.7 on Ubuntu 22.04
Compiling Ruby 2.7.7 fails with the following error about openssl:
Compiling Ruby 2.7.7 fails with the following error about openssl:
By now you should be using Python 3.x. You can integrate it with direnv (2.21 or newer)
by putting the following in your .envrc
I’m reading “Practical Haskell”, which requires a different version of Haskell than Ubuntu installs so I figured I’d add another entry to my direnv series.
To integrate direnv
with ruby-install
– installation instructions here – add the following to ~/.direnvrc
:
To integrate direnv
with python-build
– installation instructions here – add the following to ~/.direnvrc
:
Install pyenv
. We’re not going to use it as-is, but it includes the python-build
script that we will use:
To integrate direnv
with nvm
, add the following to ~/.direnvrc
:
At Electric Imp, we manage our Elixir versions with kiex.
To integrate direnv
with kiex
, add the following to ~/.direnvrc
:
At Electric Imp, on developer PCs, we manage our Erlang versions with kerl.
To integrate direnv
with kerl
, add the following to ~/.direnvrc
:
If you want to use kerl
to build your Erlang installation, you’re going to
need some packages installed first.
From direnv.net:
At Electric Imp, we use a variety of different languages, and each project might be using a different mix of versions.
kerl
allows you to easily build and install multiple Erlang/OTP releases.
It’s kinda like nvm
or rvm
, but for Erlang. It doesn’t do everything, and
that’s what direnv
is for. direnv
allows you to run commands upon entering
or leaving a particular directory.