From d1eea85b04033a6957dbfdf9d386a2421bbb32bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Sun, 4 May 2025 18:14:49 +0400 Subject: [PATCH] Add Redis gem explicitly, remove sidekiq require --- Gemfile | 3 +-- Gemfile.lock | 5 +++++ config/routes.rb | 2 -- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index cd2e1b7..78756d7 100644 --- a/Gemfile +++ b/Gemfile @@ -19,8 +19,6 @@ gem "turbo-rails" gem "stimulus-rails" # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder gem 'jbuilder', '~> 2.7' -# Use Redis adapter to run Action Cable in production -# gem 'redis', '~> 4.0' # Use Active Model has_secure_password gem 'bcrypt', '~> 3.1' @@ -65,6 +63,7 @@ gem 'discourse_api' gem "lnurl" gem 'manifique', '~> 1.1.0' gem 'nostr', '~> 0.6.0' +gem "redis", "~> 5.4" group :development, :test do # Use sqlite3 as the database for Active Record diff --git a/Gemfile.lock b/Gemfile.lock index a590349..c68cde3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -385,6 +385,10 @@ GEM logger rdoc (6.13.1) psych (>= 4.0.0) + redis (5.4.0) + redis-client (>= 0.22.0) + redis-client (0.24.0) + connection_pool regexp_parser (2.10.0) reline (0.6.1) io-console (~> 0.5) @@ -559,6 +563,7 @@ DEPENDENCIES rails (~> 8.0) rails-controller-testing rails-settings-cached (~> 2.8.3) + redis (~> 5.4) rqrcode (~> 2.0) rspec-rails sentry-rails diff --git a/config/routes.rb b/config/routes.rb index 11a4d95..8344410 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,5 +1,3 @@ -require 'sidekiq/web' - Rails.application.routes.draw do devise_for :users, controllers: { confirmations: 'users/confirmations',