blog til projects meta feed
~ / til / Using RVM with Alacritty 2024-01-10 | 1 minute
I have have been using Alacritty as my terminal emulator for the past few months, and I am absolutely loving it so far. However, I have recently run into an issue while trying to use RVM (Ruby Version Manager).
When running the command:
rvm use <$RUBY_VERSION>
I get the following error message:
RVM is not a function, selecting rubies with 'rvm use ...' will not work.
You need to change your terminal emulator preferences to allow login shell.
Sometimes it is required to use `/bin/bash --login` as the command.
Please visit https://rvm.io/integration/gnome-terminal/ for an example.
So, we need to be in a login shell. Unfortunately, Alacritty does not have a settings GUI like gnome-terminal and similar, and after thorough investigation I couldn’t find a way to set this up through Alacritty. We need a different solution.
Luckily, this is possible through the shell itself. You can open a login shell by running the following command (press Ctrl+D to return to the interactive shell):
bash --login
This also works with zsh
, or Z-shell:
zsh --login
Unfortunately for all you fishers out there, I couldn’t find a way to to this with fish
. If you know how, send me an email!
There are some drawbacks to this method.
- You will have to do this every time you want to use RVM.
- Commands such as
rvm use
only persist in the login shell, so you will have to stay in there if you want to use RVM, and the version of Ruby that you have selected. I toyed about with usingzsh --login -c "rvm use <$RUBY_VERSION>"
, but this will immediately return you to the interactive shell without any of the changes that you made.
Articles from blogs I follow around the net
Postfix Relay to SMTP2GO on NixOS
Postfix Relay to SMTP2GO on NixOS I am in the process of setting up a new NAS/Homeserver. But I nerd sniped myself by wanting to use NixOS on it. So things are going slow. But here's a thing I learned today… The goal is to set up a Postfix mail server t…
via splitbrain.org - blog July 25, 2025Computational Tyranny
We are under constant cognitive assault. Buying plane tickets is navigating a minefield - one misclick blows a hole in your wallet. Resolving a mistake on your utility bill is a tactical operation: dodge hold music traps, outwit the chatbot, then convince t…
via One Happy Fellow - blog July 23, 2025The rise of Whatever
This was originally titled “I miss when computers were fun”. But in the course of writing it, I discovered that there is a reason computers became less fun, a dark thread woven through a number of events in recent history. Let me back up a bit.
via fuzzy notepad - articles July 3, 2025Generated by openring







Last updated: 2025-07-26 13:21:08 +0100
v25.10.PU0726
© Andrew Conlin 2023-2025
All rights reverse engineered