bullet_train
bullet_train copied to clipboard
bin/configure fails with error: "You don't have Redis installed." Even though Redis is installed and running
On Ubuntu 22.04 LTS following the Quickstart Guide:
git clone [email protected]:bullet-train-co/bullet_train.git foo && cd foo
❯ bin/configure
Successfully installed colorize-1.1.0
1 gem installed
Successfully installed activesupport-7.1.3
1 gem installed
Bullet Train requires Ruby 3.3.0 and `ruby -v` returns ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-linux].
You don't have Homebrew installed. This isn't necessarily a problem, you might not even be on macOS, but we can't check your dependencies without it.
Try proceeding without Homebrew? [y/n]
y
You have PostgreSQL 14 installed.
You don't have Redis installed. Please see the installation instructions at https://redis.io/docs/getting-started/installation/install-redis-on-linux/ .
systemclt shows redis as active (running)
and redis-cli is working:
❯ redis-cli ping
PONG
But Bullet Train insists that redis is not installed. How to fix that?
Interesting, do you have redis-server
installed? As far as I can tell I believe we require it for Bullet Train, and if redis-server
is not on your system we should update bin/configure
to be more specific.
Hi @gazayas ,
yes redis-server is installed (using apt install redis-server
) and running.
❯ sudo systemctl status redis.service
● redis-server.service - Advanced key-value store
Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2024-02-14 08:30:54 CET; 3h 1min ago
Docs: http://redis.io/documentation,
man:redis-server(1)
Main PID: 764 (redis-server)
Status: "Ready to accept connections"
Tasks: 5 (limit: 18777)
Memory: 5.4M
CPU: 24.619s
CGroup: /system.slice/redis-server.service
└─764 "/usr/bin/redis-server 127.0.0.1:6379" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
Feb 14 08:30:53 pop-os systemd[1]: Starting Advanced key-value store...
Feb 14 08:30:54 pop-os systemd[1]: Started Advanced key-value store.
❯ bin/configure
Successfully installed colorize-1.1.0
1 gem installed
Successfully installed activesupport-7.1.3
1 gem installed
Bullet Train requires Ruby 3.3.0 and `ruby -v` returns ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-linux].
You don't have Homebrew installed. This isn't necessarily a problem, you might not even be on macOS, but we can't check your dependencies without it.
Try proceeding without Homebrew? [y/n]
y
You have PostgreSQL 14 installed.
You don't have Redis installed. Please see the installation instructions at https://redis.io/docs/getting-started/installation/install-redis-on-linux/ .
@StandardNerd Got it, thank you for the detailed reply. I'm thinking it has to do with how we gather the system package information, I'll try to submit a PR for this one soon.
@gazayas Thank you very much for your commitment and the work you put into the project. That is great, keep on rocking!